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

Help :-\

Status
Not open for further replies.
Feb 9, 2003
24
0
0
AR
Ok I'm trying to do a simple function in SQL. I have the following:

(in microsoft access)
Select fund & '-' & department & '-' & object
From accounts

It produces xxxx-xxxxxx-xxxx


How do I do the same thing in SQL for SQL Server 2000???
 
oh sorry did not notice '-' it would be as follow

Select fund+ '-' +department+ '-' +object from Account
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top