Forum Replies Created

Viewing 15 posts - 7,216 through 7,230 (of 15,381 total)

  • RE: Query Help - To delete old files

    Why not just create a .NET console app and schedule it with windows scheduler? This doesn't like the type of thing you need sql for at all.

  • RE: Are the posted questions getting worse?

    Well I guess the joke is lost now as the topic has apparently been removed. :hehe:

  • RE: sp_rename help

    Oracle765 (8/7/2013)


    Hi again Sean

    everything works fine its just the drop column part it does not seem to like

    --Now we drop the original column

    alter table dbo.newtable

    drop column @column1

    regards

    Alan

    This is because you...

  • RE: good book or webite to learn the basic on TSQL and/or SQL server

    Jeff Moden (8/7/2013)


    Sean Lange (8/7/2013)


    You might also click on the Stairways over on the left side. There are a number of series that start out basic and get more advanced...

  • RE: Logic Behind Try . . . Catch

    JoshDBGuy (8/7/2013)


    Within the loop there are multiple transaction statements. Because these are all very dependent on one another i'd like the loop to stop completely and not insert or delete...

  • RE: Pivot on two columns

    Glad you were able to figure it out.

    You can use the IFCode shortcuts (over on the left) when posting to create code boxes. 😉

  • RE: Logic Behind Try . . . Catch

    JoshDBGuy (8/7/2013)


    Hello All,

    I have a question behind the logic of Try and Catch. I'm using Try Catch in a complex statement with a While Loop. If I put the Try...

  • RE: sp_rename help

    Oracle765 (8/7/2013)


    Hi Sean

    The reason they change frequentl is that they are imported from a spreadsheet and the user selects the column name from a drop down box which matches the...

  • RE: What is dbo?

    GilaMonster (8/7/2013)


    Sean Lange (8/7/2013)


    GilaMonster (8/7/2013)


    dbo is the schema name. Those two are identical, the .. is a shortcut for .dbo.

    Gail doesn't this actually shortcut to the current user's default schema?...

  • RE: What is dbo?

    GilaMonster (8/7/2013)


    dbo is the schema name. Those two are identical, the .. is a shortcut for .dbo.

    Gail doesn't this actually shortcut to the current user's default schema? Of course that...

  • RE: Help with the query and index.

    Why not just split the two conditions? No need for a cte here.

    SELECT TOP (500) test.[TestId]

    FROM tblTest as test

    WHERE test.EndDateTime < @Date OR test.StartDateTime < @Date;

    The next question is, which...

  • RE: Adding special characters

    This is still the strangest requirement I have heard of in years...I can't come up with any rational reason why you would want to blindly modify all the data in...

  • RE: Are the posted questions getting worse?

    Stefan Krzywicki (8/7/2013)


    Sean Lange (8/7/2013)


    Stefan Krzywicki (8/7/2013)


    paul.knibbs (8/7/2013)


    Stefan Krzywicki (8/7/2013)

    Yep, owned by Oracle, but there's nothing I can do about that. This is going to be a small database for...

  • RE: Export/Import query

    branovuk (8/7/2013)


    I think I explained very detailed what I need in one of my posts.

    Please check and let me know if anything missing in my second explanation:

    Simply reposting the...

Viewing 15 posts - 7,216 through 7,230 (of 15,381 total)