« first day (3288 days earlier)      last day (1030 days later) » 

5:41 AM
Hi All, Is it possible to create SP in master. I am using Azure SQL Server.
and user is a super admin user. Any idea ?
 
 
2 hours later…
7:34 AM
@Revan I guess you can
 
 
7 hours later…
Jay
2:08 PM
@Zulatin sorry it's not. I'm trying to run the same query on 3 different servers and I got it connecting to the first one by switching to SQLCMD Mode and using the :Connect command, but it keeps disconnecting right away. Does anyone have any idea how to do this?
:Connect [Server Name]

SELECT [Email], FirstName, LastName, [Status]
FROM MyTable
WHERE [Email] LIKE 'username%'
Trying to get it to connect to the first server and run that query, then switch to the second server and run that query again and I feel like I'm close, but it's just not working yet. I tried putting a GO after the :Connect but it still disconnected right after it connected and before running the query
 

« first day (3288 days earlier)      last day (1030 days later) »