Viewing 15 posts - 151 through 165 (of 200 total)
I'm sure this isn't the best way.. but you could build your sql into a string and pass the sort type (ASC or DESC) as a parameter and then execute...
March 31, 2009 at 10:30 am
Things didn't work out quite well enough for me with the synonym thing
i created my synonyms, but I could hit the occasion where the same stored proc should hit Db2...
March 25, 2009 at 3:29 pm
Thanks guys..
the synonym thing looks like it has legs..
I'm gonna have a play 🙂
March 25, 2009 at 1:56 pm
Thanks.. that makes sense I guess.. as I wont know the user login information, if its not there, I'll just return a message to that effect.
Here's my code in case...
March 11, 2009 at 2:17 pm
hmm.. hate to be a pest.. but.. I'm trying to set this up so it'll try and Autofix every orphan user..
Heres what I have:
CREATE TABLE dbo.temp_OrphanUsers
(
UserName varchar(250) NULL,
UserSID varchar(500) NULL
)...
March 11, 2009 at 11:55 am
that seems to be just what I was looking for.. just need to wrap the Report and the Autofix together and it should be a winner.
Thanks for the help 🙂
March 11, 2009 at 10:50 am
Thanks Lori, that did it..
Still odd though.. at one point i had DBWMS002_old up and running right next to DBWMS002_old (Restoring...)
But, I wont worry about it anymore..
Thanks everyone for your...
February 24, 2009 at 12:45 pm
i did restore as a different name, i did the restore by right clicking databases and picking restore.. i dont recall if i had norecovery on or not.. i really...
February 24, 2009 at 12:33 pm
use the sql server agent to schedule the job..
and you could use a modification of:
http://www.sqlservercentral.com/articles/Advanced+Querying/tippipequery/175/
personally.. i'd output to another table in the database but thats just me.. i hate working...
November 11, 2008 at 9:37 am
Kishore.P (11/10/2008)
If any error occurs, the identity column increment the value.
Otherwise, in...
November 11, 2008 at 9:33 am
I changed the SQL Server and sql agent to run under a domain account that has administrative rights to the machine im trying to run the exe's on.. no change...
November 7, 2008 at 12:32 pm
Thanks Elisabeth
I don't want to do it on a trigger.. once a minute will be fine, i'm looking for set rows that match a certain status. sounds like my...
November 6, 2008 at 1:45 pm
thanks gail.. that makes sense i guess.. and it wasn't really a problem... just struck me as weird..
thanks again
September 12, 2008 at 11:41 am
Viewing 15 posts - 151 through 165 (of 200 total)