Forum Replies Created

Viewing 15 posts - 4,081 through 4,095 (of 5,685 total)

  • RE: how to move table from .mdf to .ndf

    You have to assign the new file to a different logical filegroup in the database, otherwise you can't control it.

    Once you have done that, you rebuild the clustered index in...

  • RE: Procedure fails when called from a job

    EDIT: Late update, ignore.

  • RE: Modify A Table

    To extrapolate on what Mike provided above, you can't edit an IDENTITY column while it's being included, and you can't update it after the fact.

    You can, however, INSERT into it...

  • RE: Are the posted questions getting worse?

    Stefan Krzywicki (2/9/2011)


    Craig Farrell (2/9/2011)


    GSquared (2/9/2011)


    Kit G (2/9/2011)


    To those Threadzians (and everyone else) getting hit by the latest winter storm, stay warm and safe.

    And to those in Florida who can't...

  • RE: Procedure fails when called from a job

    Silly as it sounds, try it without the dbo. in front of the #Accounts

    Also, I assume IF @AccountType = 'Account' is supposed to be @Type, from the parameters.

  • RE: Are the posted questions getting worse?

    GSquared (2/9/2011)


    Kit G (2/9/2011)


    To those Threadzians (and everyone else) getting hit by the latest winter storm, stay warm and safe.

    And to those in Florida who can't deal with frigid, sub-70...

  • RE: Need help to code for different row data

    In the real code, remove the 'WhatItFinds' column, I merely left it in there as an example.. You don't want to call a correlated subquery twice. This is...

  • RE: Need help to code for different row data

    adonetok (2/9/2011)


    Thank all of you.

    I try to run code from SSCommitted but I got an error as below. How to fix it?

    Our company is still using SQL 2000. I do...

  • RE: Need help to code for different row data

    adonetok (2/9/2011)


    I need to move Excel data to SQL. In Excel, it is easier to calculate duration:

    ...

    How to code in SQL is really hard for me. Can someone help me?

    One...

  • RE: need help

    Hey Denny, welcome to SSC. Since you're new here, you'll probably want to take a look at the first link in my signature. It describes how to setup...

  • RE: Are the posted questions getting worse?

    GSquared (2/9/2011)


    Maybe it's time for us to step up to the plate and make some suggestions on the subject, and make them public enough to be of some use in...

  • RE: Are the posted questions getting worse?

    Jan Van der Eecken (2/9/2011)


    You know, I read through that whole thread, and somewhere mid-way I started wondering whether nadabadan himself wasn't actually the interviewer. I guess I am certainly...

  • RE: Job running every minute

    smac (2/8/2011)


    I have a machine that runs a part then the outputs the results to a file on a server, I will need to setup a job to go out...

  • RE: Deprecation consternation

    In addition to Gus' method, a second pass will also ease your mass rewrite by simply updating all (NOLOCK) to WITH (NOLOCK), and then the second pass updating all WITH...

  • RE: Multiple Lookups

    Drag another lookup to the screen, and bring the datastream (green/red arrows) to it to do your next lookup. The previously defined lookup gets added to the metadata of...

Viewing 15 posts - 4,081 through 4,095 (of 5,685 total)