Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can you list all the columns in a database?



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

Post New Answer

More SQL Server Interview Questions

How to find the date and time of last updated table?

3 Answers  


Can you roll back the ddl statement in a trigger?

1 Answers  


Why do you need a sql server?

1 Answers  


Explain what is row_number function?

1 Answers  


Define candidate key, alternate key, and composite key.

1 Answers  


What are the database roles? : sql server security

1 Answers  


What is use of @@ spid in sql server?

1 Answers  


What is Data model and how to prepare a data model.?

1 Answers   TCS,


What are various ways to enhance the ssrs report?

1 Answers  


last function used in MS Access to convert sql what function will use in sql

1 Answers   Cap Gemini,


What should we do to copy the tables, schema and views from one SQL Server to another?

3 Answers  


How do you know if sql server is running on your local system?

1 Answers  


Categories