Hi there
I am trying to run folllowing code in a stored procedure and i am getting 'Invalid column name 'u'' error message. Can anyone help please?
DECLARE @cmd varchar(255)
select @cmd = 'SELECT min(ID) FROM sysobjects WHERE xtype = convert(varchar(1),u)'
exec(@cmd)[
Thanks in advance.
PS: I am using sql server 2000
Vivek Shukla - MCTS SQL Server 2008