Hi i want to select the first row only in my table... i have this:
[code=sql]
declare @abc varchar(2000)
set @abc = (select Sql_Table_Name from temptable10)
print @abc
[/code]
how can i edit it to only retrieve the value from the first row only?
Thanks
[code=sql]
declare @abc varchar(2000)
set @abc = (select Sql_Table_Name from temptable10)
print @abc
[/code]
how can i edit it to only retrieve the value from the first row only?
Thanks
Comment