Forum Replies Created

Viewing 15 posts - 121 through 135 (of 326 total)

  • RE: OS permission override by SQL Server

    I second your thoughts. Correct way is to get permissions and I have already asked for that.

    MysteryJimbo (10/1/2012)


    You could create a SQL Account with sysadmin permissions and use this to...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • RE: OS permission override by SQL Server

    Exactly what I did, but the copy permission was not there 🙂

    SpringTownDBA (10/1/2012)


    Sql server should have permissions to copy the file, so xp_cmdshell.

    My approach for moving databases:

    1. Alter DB set...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • RE: OS permission override by SQL Server

    Well one reason is tha tI don't want users to enter any data in this database while I am moving it. I know there are other ways to achive it...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • RE: OS permission override by SQL Server

    we just want to shift files from one drive to another with larger space. So attach/ detach looks simpler...

    Jason-299789 (9/28/2012)


    I would speak to the network admin about obtaining rights as...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • RE: Behavior of "NOT IN"

    Thats a nice explanation. I got your point Gail. Thank you...

    GilaMonster (9/24/2012)


    Add OR nm IS NULL

    Null never matches any value, so you cannot have null returned from a in or...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • RE: Behavior of "NOT IN"

    May be it's difference of perception but to me it looks illogical. I am asking just remove those records which are there in NOT IN, and i didn't mention NULL,...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • RE: Will indexed view help this query?

    This was a good point Paul.

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • RE: Will indexed view help this query?

    thanks Chris,I'll look into it myself.

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • RE: Will indexed view help this query?

    But the results of this and previous query doesn't match. Seems ordering on different column changed the results.

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • RE: Will indexed view help this query?

    Thanks so much for your thoughts. I'll give it a try.

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • RE: Will indexed view help this query?

    Just an addition that i will have to remove top, left joins etc to make an indexed view here.

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • RE: Deleting log backups after fullbackup

    Thanks for guidance Gail.

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • RE: Failed job incomplete error message

    So I I direct output to a file, will it write complete message? Ok, let me try it.

    opc.three (6/26/2012)


    The messages logged by SQL Agent are limited, and formatting is removed...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • RE: Failed job incomplete error message

    This actually gives the same text as you get thru GUI and again it won't be complete

    440692 I am just a number (6/26/2012)


    You may be able to get some additional...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

  • RE: BetterWay to write this proc

    Sorry, I missed to see that you used CTE inside the query to make it nested.

    Thanks

    SQLKnowItAll (6/19/2012)


    Here is the proc:

    USE test

    GO

    CREATE TABLE tab1 (id int,oldId int, InsertedOn datetime)

    insert into tab1...

    Online Trainer For SQL DBA and Developer @RedBushTechnologies with 18 yrs exp.

Viewing 15 posts - 121 through 135 (of 326 total)