1. Finding SQL Server Version:Select @@version;orEXEC master..sp_MSgetversion2. Finding SQL Databases names and size:Use master;
EXEC sp_helpdb;3. Finding the physical location of the SQL databases and logs: SELECT name, physical_name AS current_file_location
FROM sys.master_files4. Finding list of tables and views in SQL database:Use master;
EXEC sp_tables;5. Finding which user/s is/are currently logging to the SQL server: EXEC sp_who;6. Move to Advanced Configurations Mode:USE master;
EXEC sp_configure 'show advanced option', '1';
7. Reviewing Advanced Configurations Mode options:” RECONFIGURE;
EXEC sp_configure;
Read more: Yuval Sinay
QR:
EXEC sp_helpdb;3. Finding the physical location of the SQL databases and logs: SELECT name, physical_name AS current_file_location
FROM sys.master_files4. Finding list of tables and views in SQL database:Use master;
EXEC sp_tables;5. Finding which user/s is/are currently logging to the SQL server: EXEC sp_who;6. Move to Advanced Configurations Mode:USE master;
EXEC sp_configure 'show advanced option', '1';
7. Reviewing Advanced Configurations Mode options:” RECONFIGURE;
EXEC sp_configure;
Read more: Yuval Sinay
QR:
0 comments:
Post a Comment