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

Search results for query: *

  1. pscassidy

    If/else

    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...
  2. pscassidy

    if then else

    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...

Part and Inventory Search

Back
Top