Hi @Jonathan Brotto > Would there be a script or export option to show all the columns within this database/table?
There are several ways to see the column details.
- In SSMS, expand the database and tables in the Object Explorer, then right-click on the table and select "Design" or expand "Columns" to view the column details.
- You can query the INFORMATION_SCHEMA.COLUMNS view to get information about the columns like this:
USE YourDatabaseName
SELECT * --here choose the specific information you are interested
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'YourTable' --comment this line to retrive column information for the whole database
3.Using the system stored procedure sp_columns to get information about columns in a specific table:
USE YourDatabaseName
EXEC sp_columns @table_name = 'YourTable';
Best regards,
Cosmog
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".