SELECT @@version; SELECT USER_NAME(), DB_NAME(), @@servername; USE library SELECT * FROM information_schema.tables WHERE table_type = 'base table';