Avatar of gbroomall
gbroomall

asked on 

Input parameter

How do I code this simple "Select" statement to popo-up for user to enter a value?
SELECT field1
      ,field2
      ,field3
      ,field4
  FROM table1
	where field1 = @field

Open in new window

Microsoft SQL Server 2005

Avatar of undefined
Last Comment
udaya kumar laligondla
Avatar of udaya kumar laligondla
udaya kumar laligondla
Flag of India image

you can not pop for params in TSQL. use the popups in the any programming application and then build the query and execute
Avatar of gbroomall
gbroomall

ASKER

Does Sql Server 2008 allow this? I come from an Oracle background and this is allowed in their sql.
Thanks,
Greg
ASKER CERTIFIED SOLUTION
Avatar of udaya kumar laligondla
udaya kumar laligondla
Flag of India image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Microsoft SQL Server 2005
Microsoft SQL Server 2005

Microsoft SQL Server 2005 is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning. It includes support for managing XML data and allows a database server to be exposed over web services using Tabular Data Stream (TDS) packets encapsulated within SOAP (protocol) requests.

72K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo