How to get all column names without one column in sql table in SQL Server.
I have a temp table. It has columns:
ID, Status, Code, Name, Location, Address, Title, Category, Line, date, time, UserName
I want all data without the id column
I want an alternative to this SQL code for this
SELECT Status, Code, Name, Location, Address, Title, Category, Line, date, time, UserName
FROM TEMP