Skip to content
Advertisement

script issue Transact-SQL

I Want to return All table names from a use data base but this just return a char

the output is s s s s s s

Advertisement

Answer

You need to define the length of @tableName, by default it is set to 1 character.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement