Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Just starting to learn it . . .
I can't get a script to run that's supposed to generate a Query
Parameters dialogue to take inputs and then run the query - for
example, the following

. . .
and fl.flow_name = [[TRUE][FLOW NAME][@?]]
. . .

generates SQL Query Analyzer exceptions about "Incorrect syntax near
'FLOW NAME'.

Suggestions?


Report this thread to moderator Post Follow-up to this message
Old Post
joe@joeschweighofer.com
08-23-05 01:23 AM


Re: Just starting to learn it . . .
(joe@joeschweighofer
.com)  writes:
> I can't get a script to run that's supposed to generate a Query
> Parameters dialogue to take inputs and then run the query - for
> example, the following
>
> . . .
> and fl.flow_name = [[TRUE][FLOW NAME][@?]]
> . . .
>
> generates SQL Query Analyzer exceptions about "Incorrect syntax near
> 'FLOW NAME'.

I have no idea what that is supposed to mean. You get a syntax error
because first you have an identifier [TRUE. This is followed by another
identifier FLOW NAME, and this is not legal synax. Next follows
quoted identifier which lacks a closing quote - the two ]] means
a single ] is part of the idenfier.

Or in summary, the above is gibberish as far as SQL Server is concerned.
Since you can't run dialogues in Query Analyzer anyway, I suspect that
the script is intended to be run from somewhere else, although I have
no idea from where.



--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techin.../2000/books.asp


Report this thread to moderator Post Follow-up to this message
Old Post
Erland Sommarskog
08-23-05 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 11:33 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006