Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Parameter Query

Author  Topic 

jh109052
Starting Member

1 Post

Posted - 2003-12-17 : 15:50:31
I am trying to write an T-SQL statement that will allow for user input and I can't seem to figure out how...In Access if you specify a parameter in the select statement that doesn't have a value it prompts you for the value...How do I do this with SQL Server T-SQL using the query analyzer ?

For example, in Access if I write the SQL statement:
SELECT * FROM Table1 WHERE Field1 = myvalue

Because myvalue has no value, a nice popup appears asking me for the value...How do I do this w/T-SQL and SQL Server ?
THANKS -
Jennifer

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2003-12-17 : 16:26:41
You need to write an application that does the pop-up. SQL Server doesn't do that for you.

Tara
Go to Top of Page
   

- Advertisement -