Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
beemd
Starting Member
14 Posts |
Posted - 2014-01-14 : 09:29:32
|
So I have this:EXEC sp_GetMonitoredLinkSubscribers @AccountId=2, @Jobid=1457, @MonitoredLinkId = 15428Which works fine. But ideally I need to get the monitoredlinkid from another query like this@MonitoredLinkId = 'SELECT monitoredlinkid FROM tblmonitoredlinks WHERE originalurl = 'http://myurl.com')'Can that be done?Thanks! |
|
djj55
Constraint Violating Yak Guru
352 Posts |
Posted - 2014-01-14 : 09:32:11
|
Use the SET commanddjj |
|
|
|
|
|