SQL Server: Loop through all databases in an instance

Posted by Unknown On Thursday, June 15, 2017 1 comments

You need to have sufficient permission to execute this command.


EXECUTE sp_MSForEachDB  'USE ?; select DB_NAME() AS DBName,xmluserid from carriertable where carriername=''LKVL'' and userid IS NOT NULL'

1 comments:

langliejacin said...

The casino floor is being renovated with 50000 slot machines
Casino 벳 인포 해외 배당 흐름 Floor Plans in Las Vegas. the hotel 벳365한글 casino floor was 텐벳먹튀 remodeled in October 2013. The hotel casino 벳 365 가상 축구 주소 floor 유로스타사이트 includes 2,000 slot machines,

Post a Comment