Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Find the database which have specify table name
declare @tablename varchar(100)='spt_values' declare @sql varchar(max) set @sql=' if object_id(''?..'+@tablename+''') IS NOT NULL select ''table '+@tablename+' existed in ''+ ''?''' EXEC sys.sp_MSforeachdb @sql
run
|
edit
|
history
|
help
0
select empname from emp;
by mummy, 4 years ago
Please
log in
to post a comment.
manual app locks
Cursor (procedural while)
TestTaskSolutionByTania
Practice
test 2018.05.26
Hotel
kuy09:admin09@pkms99.info
Combined Where and having
NAMES CODE
SQL - Find series of timestamps with small gaps
select empname from emp;
by mummy, 4 years agoPlease log in to post a comment.