Forum Replies Created

Viewing 15 posts - 151 through 165 (of 200 total)

  • RE: Dynamic sorting via parameters to procs

    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...

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

  • RE: multiple linked servers and stored procs

    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...

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

  • RE: multiple linked servers and stored procs

    Thanks guys..

    the synonym thing looks like it has legs..

    I'm gonna have a play 🙂

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

  • RE: logins - sql users after a restore

    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...

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

  • RE: logins - sql users after a restore

    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

    )...

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

  • RE: logins - sql users after a restore

    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 🙂

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

  • RE: Management Studio says my database is (Restoring...)

    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...

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

  • RE: Management Studio says my database is (Restoring...)

    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...

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

  • RE: large transaction log backups

    Thanks a bunch.. that makes sense

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

  • RE: several queries need ran daily w/output to text file

    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...

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

  • RE: Identity Insert Skips records

    Kishore.P (11/10/2008)


    do all types of validations at front-end, this is one of the best validation, validation like length, datatype, etc.

    If any error occurs, the identity column increment the value.

    Otherwise, in...

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

  • RE: xp_cmdshell and psexec

    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...

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

  • RE: .net app, or sql server agent job

    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...

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

  • RE: odd sorting behaviour

    thanks gail.. that makes sense i guess.. and it wasn't really a problem... just struck me as weird..

    thanks again

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

  • RE: resource database - move or not?

    Thanks!

    --------------------------

    I long for a job where my databases dont have any pesky users accessing them 🙂

Viewing 15 posts - 151 through 165 (of 200 total)