Parameter Query

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Jayaseelan

    Parameter Query

    Hi,

    The following parameter query SQL statement on a sql analyzer gives the
    error message given below.

    Select * from contact where cus_cust_no = ?


    [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error

    Thanks







    *** Sent via Devdex http://www.devdex.com ***
    Don't just participate in USENET...get rewarded for it!
  • David Portas

    #2
    Re: Parameter Query

    Query Analyzer doesn't support parameterized queries. That's something
    you'll have to do in some other front-end tool.

    --
    David Portas
    SQL Server MVP
    --


    Comment

    • John Jayaseelan

      #3
      Re: Parameter Query

      Thanks.



      *** Sent via Devdex http://www.devdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      Working...