Viewing 3 posts - 1 through 3 (of 3 total)
why "/" and "-" in the line?
remove -s"" (default spacing) .
June 22, 2004 at 1:00 pm
#511502
DECLARE @user1 varchar(50)
SELECT @user1 = 'New_Column_Name'
declare @sentencia_sql nvarchar(1000)
declare @Sal int
select @sentencia_sql='SelECT User1 AS ' + @user1 + '
from _user'
EXECUTE @Sal=sp_executesql...
June 22, 2004 at 12:24 pm
#511496
Good thank , bien gracias , tratare de buscar bien el for
June 9, 2004 at 11:10 am
#509692