Forum Replies Created

Viewing 15 posts - 1 through 15 (of 102 total)

  • RE: RAND Unions

    i totally read the question wrong, for some reason in my head i was thinking how many columns since that was the first thing i was thinking about, but the...

  • RE: Script to list all index in one table

    adonetok (3/14/2014)


    I ran your script, it list index for that table. I need it.

    Can you tell me how to generate index scripts for one table? I need to apply the...

  • RE: Foreign Keys are evil?

    Nothing really to see, they just prefer things to be easy than to be done the right way. If they don't care about how accurate data is then lose the...

  • RE: Duplicating Permissions

    EricEyster (2/25/2014)


    I highly recommend using database roles for this requirement. Assign the permissions to the role and the next time around you just add the user to the role.

    Another suggestion...

  • RE: sp_who2

    If I were you I would look into sp_whoisactive, much better than sp_who2

  • RE: My procedure is taking more CPU time : sys.dm_exec_requests

    GilaMonster (2/24/2014)


    stormsentinelcammy (2/24/2014)


    GilaMonster (2/24/2014)


    Tune the query, tune the indexes. Without more information that's about all that can be said.

    Also, if you have an inline table switch to a temp table...

  • RE: auditing

    GilaMonster (2/24/2014)


    Try changing the permanent table to a temp table, I can't see any valid reason why that script would be creating a permanent table in tempDb instead of just...

  • RE: My procedure is taking more CPU time : sys.dm_exec_requests

    GilaMonster (2/24/2014)


    Tune the query, tune the indexes. Without more information that's about all that can be said.

    Also, if you have an inline table switch to a temp table so that...

  • RE: Daisy chain SQL Jobs based on condition

    rickyc1 (2/21/2014)


    Im leaning towards this approach. A little more background regarding my requirement. Job 1 step 1 executes every 15 minutes. And step 2 will only need to execute...

  • RE: Largest MS SQL Server Databases

    SQLRNNR (2/21/2014)


    Steve Jones - SSC Editor (2/21/2014)


    stormsentinelcammy (2/21/2014)


    Steve Jones - SSC Editor (2/21/2014)


    Not I. I'd pass on that job. I like my family and bed.

    You'd hope if you're working on...

  • RE: Largest MS SQL Server Databases

    Steve Jones - SSC Editor (2/21/2014)


    stormsentinelcammy (2/21/2014)


    Steve Jones - SSC Editor (2/21/2014)


    Not I. I'd pass on that job. I like my family and bed.

    You'd hope if you're working on instances...

  • RE: Largest MS SQL Server Databases

    Steve Jones - SSC Editor (2/21/2014)


    Not I. I'd pass on that job. I like my family and bed.

    You'd hope if you're working on instances that big that you'd be doing...

  • RE: DateAdd Convertion Problem

    Luis Cazares (2/21/2014)


    You're welcome.

    Do you understand how and why it works?

    I also missed the link in my previous post. Here it is: How to Make Scalar UDFs Run Faster (SQL...

  • RE: Linked Server problems

    Just wondering but when you created the linked server did you pass the sa/sa password for the username/password for the connection to the production server, small things like that could...

  • RE: blocking

    You might want to source the problem instead of just sending an email, try to create a table to write what procedure is running so that you can try to...

Viewing 15 posts - 1 through 15 (of 102 total)