Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 7th, 2007, 12:23 AM
Authorized User
 
Join Date: Apr 2007
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tool for testing SQL syntax

Hello does anyone know of a tool that will check the syntax of an SQL file and report " no syntax errors " if it is error free and tell me where a syntax error is located if there really is one? Like a compiler does for a computer program.

I need a tool, I don't just want to test it with a web site using the database. If someone claims that a database cannot be imported into another because of syntax errors I want to be able to say, take this tool and see for yourself that it is syntax error free. And if it does contain syntax errors I want to know that too.

SQL server 2005 sql data bases is what I have in mind.

Any knowledge of such a tool is very appreciated. I would buy it if nothing exist that is free.

 
Old May 30th, 2007, 06:29 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 105
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to DanM
Default

Hi there,
SQL Server Management Studio should have that covered fine.
When you load it up and create a new query, in the menu bar above the query window, you'll see an icon of a blue tick - it's next to the Execute button. That's the syntax checker. It will tell either the query is fine or if something is wrong.

Of course it won't tell you if you've written a valid query which actually does soemthing other then you intended but then again a C# compiler woudn't do tht either.

If you're using SQL Express, SQL Management Studio Express also has this functionality.

Dan


Dan Maharry
Read the feed at http://feeds.feedburner.com/dansarchive





Similar Threads
Thread Thread Starter Forum Replies Last Post
whats a good tool for auto-formatting SQL Syntax?? callagga SQL Language 1 August 29th, 2008 12:11 PM
Web Site Admin Tool SQL Problem PeteC BOOK: Beginning ASP.NET 2.0 AJAX ISBN: 978-0-470-11283-0 1 July 29th, 2008 12:48 PM
SQL 2005 Syntax checker Tool ThomasWikman SQL Language 32 November 26th, 2007 05:36 AM
any sql tool recommendations? evaldesc SQL Server 2000 10 September 14th, 2005 08:05 PM
looking for sql server online administration tool method SQL Server 2000 1 March 9th, 2005 12:03 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.