Forum Replies Created

Viewing 15 posts - 766 through 780 (of 1,195 total)

  • RE: Needed Help

    Hi - you've got some missing brackets here. You can either use:-

    exec (@SQL)

    or

    exec sp_executesql @sql

    If you use the second method you will have to declare @sql as ntext, nchar or...

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • RE: Today's Random Word!

    crookj (4/30/2013)


    L' Eomot InversΓ© (4/29/2013)


    crookj (4/29/2013)


    Revenant (4/29/2013)


    Batmobile

    The Black Beauty (and what show is this from?) πŸ˜‰

    Why switch from wheels or wings to legs?

    Still talking very cool cars. Super hero...

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • RE: Create Table

    Koen Verbeeck (4/26/2013)


    Easy one to close off the week, thanks!

    +1 - thanks for the question

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • RE: Connect Two Different databases on two Different Data server Locations

    Hi,

    Firstly, you need to link the servers, after that it is fairly straight forwards:-

    select * from database.schema.table1

    inner join server.database.schema.table2

    on . . . . . .

    You only need to specify...

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • RE: Triggers 1

    Thanks for the question Hugo - nice and easy to end the week on

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • RE: Today's Random Word!

    Evil Kraig F (4/16/2013)


    SQLRNNR (4/16/2013)


    Universe

    Egos

    Id

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • RE: Red Gate brings SQL in the City back to London for the third year running

    Got my confirmation last week.

    @WWDMark if it is as good as last years (my first) you'll enjoy it.

    Know what you mean about the early start though!

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • RE: Database Mirroring

    Thanks for the question - easy point today

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • RE: Query help

    What is your criteria for the expected results?

    The Name?

    Id?

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • RE: Today's Random Word!

    L' Eomot InversΓ© (3/22/2013)


    Revenant (3/22/2013)


    Terry300577 (3/22/2013)


    Yegg

    Scrambled Yeggs

    Not permitted in the USA: scambling a Yegg would be a cruel and unusual punishment.

    True - but they might deserve it

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • RE: SQl date script help

    You may need to check the servers this runs on for what @@datefirst is otherwise a quick stab at this is:-

    IF DATEPART(dw, GETDATE()) = 1-- any time on Sunday

    ...

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • RE: Are the posted questions getting worse?

    Slight change of topic (if there ever was one here). Over the past few weeks I have been trying to help out more with the questions posted here.

    All I can...

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • RE: Today's Random Word!

    beat

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • RE: i want update the 2nd column based on first column:

    carlosaamaral (3/21/2013)


    Sean Lange (3/21/2013)


    carlosaamaral (3/21/2013)


    Logic ?

    MID=(CASE WHEN ID-100=0 THEN NULL

    ...

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

  • RE: script

    Eugene, quite right about the coalesce - it could end up being very messy and involved more that one query.

    -------------------------------Posting Data Etiquette - Jeff Moden [/url]Smart way to ask a question
    There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan
    I would never join a club that would allow me as a member - Groucho Marx

Viewing 15 posts - 766 through 780 (of 1,195 total)