About 1,550,000 results
Open links in new tab
  1. How to find specific column in SQL Server database?

    Jul 13, 2017 · Is there any way or tool in SQL Server 2016 to find a column in the entire database based on the name? Example: find ProductNumber and it shows you all the table(s) that have it

  2. Select SQL Server database size - Stack Overflow

    Aug 2, 2013 · How can I query my SQL server to only get the size of database? I used this : use "MY_DB" exec sp_spaceused I got this : database_name database_size …

  3. SQL Server query to find all permissions/access for all users in a …

    Aug 13, 2011 · I would like to write a query on a sql 2008 that will report all the users that have access to a specific database, or objects within the database such as tables, views, and stored …

  4. sql server - Get size of all tables in database - Stack Overflow

    Oct 25, 2011 · 801 If you are using SQL Server Management Studio (SSMS), instead of running a query (which in my case returned duplicate rows) you can run a standard report. Right click on …

  5. sql - Find out current database name (MSSQL) - Stack Overflow

    Sep 15, 2022 · 7 With the MSSQL queries below, you can check the current database: SELECT DB_NAME() GO master In addition, if you don't specify a database on sqlcmd, "master" …

  6. Get all table names of a particular database by SQL query?

    Oct 12, 2010 · I am working on application which can deal with multiple database servers like "MySQL" and "MS SQL Server". I want to get tables' names of a particular database using a …

  7. SQL Server search for a column by name - Stack Overflow

    Sep 21, 2010 · I'm doing some recon work and having to dig through a few hundred SQL Server database tables to find columns. Is there a way to easily search for columns in the database …

  8. Script to list the SQL Server Databases, Size and Utilisation by ...

    May 29, 2012 · The answer (s) provided here return the size of the database files, which is not necessarily the size of the data in the database. To get the size of data in each database on a …

  9. Query to list number of records in each table in a database

    Sep 18, 2009 · 51 To get that information in SQL Management Studio, right-click on the database name, then select Reports --> Standard Reports --> Disk Usage by Table. This quickly …

  10. SQL Server 2008: How to query all databases sizes?

    I have MS SQL 2008 R2, 500 databases. What is the most efficient, easiest and 'modern' way to query all databases sizes. The output should have columns: DatabaseName DataFilesSize …