How can you list all the columns in a database?
Answer / Jagesh Kumar
To list all the columns in a SQL Server database, you can use the INFORMATION_SCHEMA.COLUMNS view:nn```sqlnSELECT TABLE_NAME, COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS;n```
| Is This Answer Correct ? | 0 Yes | 0 No |
How to find the date and time of last updated table?
Can you roll back the ddl statement in a trigger?
Why do you need a sql server?
Explain what is row_number function?
Define candidate key, alternate key, and composite key.
What are the database roles? : sql server security
What is use of @@ spid in sql server?
What is Data model and how to prepare a data model.?
What are various ways to enhance the ssrs report?
last function used in MS Access to convert sql what function will use in sql
What should we do to copy the tables, schema and views from one SQL Server to another?
How do you know if sql server is running on your local system?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)