hi,
I get:
Incorrect syntax near 'then'
when i run the following:
Alter Procedure intranet_property_list
@orderby1 varchar(20),
@orderby1_direction varchar(4),
@orderby2 varchar(20),
@orderby2_direction varchar(4)
As
declare @sql varchar(100)
if @orderby1=@orderby2 then...
hi,
i get
incorrect syntax near 'then'
when i use this code:
Alter Procedure intranet_property_list
@orderby1 varchar(20),
@orderby1_direction varchar(4),
@orderby2 varchar(20),
@orderby2_direction varchar(4)
As
declare @sql varchar(100)
if @orderby1=@orderby2 then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.