Forum Replies Created

Viewing 15 posts - 5,701 through 5,715 (of 7,168 total)

  • RE: Help with SQL query

    rockstar283 (7/1/2011)


    I am currently workin as a TEMP in my company..and only permanent guys can execute a proc 🙁

    Bummer. The article is still relevant. Please see the section titled "Recompile"....

  • RE: Change Data Type

    Welcome maddoxd. You can change the data type of the BirthDate column without dropping and recreating the table, or even bothering with the Primary Key on EmpID. Something like this...

  • RE: Increasing CPUs hurts Perf

    I am interested to know the disk subsystem differences too.

    Also, with MAXDOP now set to 0 what do your wait stats look like? And what was MAXDOP on the old...

  • RE: Are the posted questions getting worse?

    jcrawf02 (7/1/2011)


    GilaMonster (7/1/2011)


    Thanks everyone. Wasn't actually planning on announcing it here.

    Thankful that you received it, but we didn't need anyone else's validation of your impact. 🙂

    Ditto. Like there was any...

  • RE: Instance count

    shanila_minnu (6/30/2011)


    How to find out the number of instances installed in a sql server 2000

    Just to clarify, number of instances installed in a sql server 2000 is kind of misleading....

  • RE: Help with SQL query

    You're talking about a "catch-all query". Please have a look at this article[/url] by Gail Shaw. It is the article for reference on the topic and will get you where...

  • RE: A Little Interviewing Advice

    sturner (7/1/2011)


    ...But I digress...

    Wow, now there's an understatement :hehe:

  • RE: Sabbaticals

    The place where I am working now offers sabbaticals after you have been with the company for 5 years. My team has 32 people, and already 3 people have taken...

  • RE: sys.dm_db_index_usage_stats

    ...checking on something

    EDIT:

    OK, had to make sure:

    Restarting SQL makes the index disappear from the usage stats view altogether. It's not until the index is used again (in some way) that...

  • RE: How do i get my cursor to continue running after an error is raised

    Just for the record, I prefer PowerShell for this kind of work. It can do all the file system and T-SQL stuff with ease all within the same programming domain.

  • RE: Restore database with dynamic path

    Wildcat (7/1/2011)


    Tara-1044200 (7/1/2011)


    I want to create a proc that restores a database every week. Lets say i want to restore a database "Employee" every sunday, here are the steps i...

  • RE: How do i get my cursor to continue running after an error is raised

    kramaswamy (7/1/2011)


    Yeah I know - I wouldn't recommend using xp_cmdshell, but if for whatever reason he doesn't have access to a visual studio environment to create a CLR with, then...

  • RE: How do i get my cursor to continue running after an error is raised

    kramaswamy (7/1/2011)


    GSquared (7/1/2011)


    I don't think there's a way to do that in T-SQL. My solution on similar scripts has been to check for the existence of the folder, and...

  • RE: PowerShell Job Agent does not work?

    Copy is a Windows CmdShell command. Try using the Copy-Item PowerShell CmdLet and set the -ErrorAction set to Stop

    Copy-Item -Path \\V240\folder\foo.txt -Destination \\V240\folder\bar.txt -ErrorAction Stop

  • RE: parallel execution of a stored proc?

    Service Broker can assist you with getting asynchronous behavior.

Viewing 15 posts - 5,701 through 5,715 (of 7,168 total)