Collections:
"sys.tables" - Getting a List of All Tables in SQL Server
How To Get a List of All Tables with "sys.tables" View in SQL Server?
✍: FYIcenter.com
If you want to see the table you have just created, you can use the "sys.tables" system view to get a list of all tables in the current database. The tutorial script gives you a good example:
SELECT name, type_desc, create_date FROM sys.tables GO name type_desc create_date tip USER_TABLE 2007-05-19 23:05:43.700
The output shows that there is only one table in the current database.
⇒ "sys.columns" - Getting a List of Columns in a Table in SQL Server
⇐ CREATE TABLE - Creating New Tables in SQL Server
2018-03-29, 4471🔥, 1💬
Popular Posts:
What Is the Difference Between GETDATE() and GETUTCDATE() in SQL Server Transact-SQL? The difference...
How To Create a Dynamic Cursor with the DYNAMIC Option in SQL Server Transact-SQL? If the underlying...
How To Use DATEADD() Function in SQL Server Transact-SQL? DATEADD() is a very useful function for ma...
How To Get the Definition of a Stored Procedure Back in SQL Server Transact-SQL? If you want get the...
What Happens to Your Transactions When ERROR 1213 Occurred in MySQL? If your transaction receives th...