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!

Create Function dosn't work in SQL7 1

Status
Not open for further replies.

Mdavis123

Programmer
Nov 12, 2001
56
US
SQL 2000 works fine, SLQ7 doesn't recognize this format.
Any body recognize the problem for SQL7???

Create function mmddccyy(@indate datetime)
Returns Varchar(8)
AS
Begin
--strip out the seperator
...
End

Thanks MikeD
 
Hi Mike

User-Defined functions are only supported in SQL Server 2000. It is one of the new features in 2000, so unfortunately you won't get it to work in 7.

Hope this helps

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top