Answers for "query to find the database name of a table in sql server"

SQL
2

sql server find table name

select * from sys.tables where name like '%tablename%'
Posted by: Guest on October-03-2020
0

sql get database name

To get the current database name use select db_name().

DB_NAME(Transact-SQL)
Posted by: Guest on March-22-2021

Code answers related to "query to find the database name of a table in sql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language