I type the following function in query analyser (Sql server 2000),
Query Analyser also generate an error
CREATE FUNCTION SalesByStore (@storeid varchar(30))
RETURNS TABLE
AS
RETURN (SELECT title from Suar )
Error message
in correct syntax near Function
how to solve this problem
Regards
Arun
Quote:
quote:Originally posted by joxa83
I have same problem since I moved from sql2000 to 2005.I use Query Analyser (sql server 2000)for manipulationg with functions.
|