Viewing 15 posts - 4,006 through 4,020 (of 5,393 total)
At the moment I'm using table variables just to simulate the UNION ALL: in other words I'm using a table variable to store the output of a query, then I...
-- Gianluca Sartori
July 5, 2010 at 3:40 am
This is the method I was talking about:
http://blogs.technet.com/b/wardpond/archive/2005/08/01/408502.aspx
I find it a bit tricky and doesn't help code readability.
It's an option, anyway.
-- Gianluca Sartori
July 5, 2010 at 3:11 am
There are other ways to achieve the same, but they're a bit complicated.
One is using OPENROWSET to call the procedure, but if you find using a table variable to be...
-- Gianluca Sartori
July 5, 2010 at 3:06 am
It's not possible to retrieve current password. You can only change it.
Can you log in with a different account and reset that password?
-- Gianluca Sartori
July 5, 2010 at 3:02 am
You probably want to set up a SQL Agent job. Triggers are not time driven, but event driven.
Would a job solve your issue?
-- Gianluca Sartori
July 5, 2010 at 2:57 am
Jeff Moden (7/4/2010)
-- Gianluca Sartori
July 5, 2010 at 1:45 am
Paul White NZ (7/4/2010)
I doubt the plan is still cached - but it is possible. Check sys.dm_exec_cached_plans.
That's where I looked for it. Never mind.
Paul White NZ (7/4/2010)
-- Gianluca Sartori
July 5, 2010 at 1:29 am
It's explained in detail in the BOL page I posted.
SQLAgentReaderRole has some more privileges than SQLAgentUserRole.
-- Gianluca Sartori
July 5, 2010 at 1:06 am
SQLAgentUserRole is the least privileged of the SQL Server Agent fixed database roles.
It still can start/stop jobs, but owned ones only.
-- Gianluca Sartori
July 2, 2010 at 10:26 am
Paul White NZ (7/2/2010)
-- Gianluca Sartori
July 2, 2010 at 10:25 am
Paul White NZ (7/2/2010)
Gianluca Sartori (7/2/2010)
Well, actually it's a SQLServer day...Serves you right for still running SQL Server 2000 😛 😉
I would be really happy to get rid of that...
-- Gianluca Sartori
July 2, 2010 at 9:22 am
You have to be member of some fixed database roles in msdb to see sql agent.
See here:
http://msdn.microsoft.com/en-us/library/ms188283.aspx
-- Gianluca Sartori
July 2, 2010 at 8:55 am
Paul White NZ (7/2/2010)
Gianluca Sartori (7/2/2010)
Paul White NZ (7/2/2010)Reported as spam - assuming no-one here is in the market for kitchen cabinets?
On days like today I wish I was...
Seems like...
-- Gianluca Sartori
July 2, 2010 at 8:23 am
Paul White NZ (7/2/2010)Reported as spam - assuming no-one here is in the market for kitchen cabinets?
On days like today I wish I was...
-- Gianluca Sartori
July 2, 2010 at 7:08 am
Glad I could help.
Let's see if this comments help you understanding what goes on behind the scenes:
-- Variable: sql string to execute
DECLARE @sql nvarchar(4000)
-- Variable: sql string to test for...
-- Gianluca Sartori
July 2, 2010 at 1:39 am
Viewing 15 posts - 4,006 through 4,020 (of 5,393 total)