Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

query and data display 1

Status
Not open for further replies.

Taxidriver

Programmer
Jan 15, 2002
79
0
0
IT
Would it be possible to do a query with

select dettaglio.Idtipo as c200_c201 from etc etc

and instead of displaying 1 or 2 (the possible values of idtipo) C201 if the value is 1 and C200 if the value is 2.
 
Look at using the SQL Server case statement.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top