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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is there an equivalent to Oracle's noprint?

Status
Not open for further replies.

glendacom

MIS
Oct 23, 2002
36
US
I am using a select within an ASP program to fill a drop down list. I need the select statement to initialize two variables but I only want one to be displayed. In oracle there is a way to define a column definition to be "noprint". Is there a way to do this in SQL*Server?

What I have is:

select lastname + ', ' + firstname as fullname,
lastname + ', ' + firstname + ' - ' + email as wmail
from aTable

I want the variable fullname to print but not wmail. wmail will be used elsewhere. Can this be done??

Thanks for any help.
Glenda
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top