Forum Replies Created

Viewing 15 posts - 961 through 975 (of 3,544 total)

  • RE: Exec sql stored Proc from vb

    Your code

    If cmdExecProc.ExecuteScalar.Equals(True) Then

    is comparing two objects, in this case the first column of the first row returned (in you case nothing) and the value True (Boolean) and will always...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Trigger on insert help

    Also beware the the inserted table can contain more than one row if a multiple row insert is done.

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: date problem in flat source

    If all the input dates are valid dates in the format DMY then use a derived column as you stated but cast the input to date (proving your output table...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Are the posted questions getting worse?

    Evil Kraig F (2/20/2013)


    Hey folks, can I get some help here: http://www.sqlservercentral.com/Forums/Topic1421888-392-1.aspx#bm1421965

    A very pleasant newbie... I just don't understand what he's trying to say. New eyes on the problem...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Loading T-SQL Statements from a database

    You will need to build a defined dataset using dynamic sql to union your statements or build a temp table and insert data interatively.

    If your dataset contains the columns ID,SequenceNo,ColumnHeading...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Are the posted questions getting worse?

    L' Eomot Inversé (2/18/2013)


    David Burrows (2/18/2013)


    L' Eomot Inversé (2/18/2013)


    And then we have the same problem with double quotation marks inside the text;

    Thanks Tom, I thought of that as well and...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Are the posted questions getting worse?

    L' Eomot Inversé (2/18/2013)


    And then we have the same problem with double quotation marks inside the text;

    Thanks Tom, I thought of that as well and I intended my post to...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Are the posted questions getting worse?

    Stefan Krzywicki (2/15/2013)


    So here's an idle question that no-one will see because it is right before the weekend.

    Apostrophes are fairly common in names. Why do we still use ' as...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Create SSIS packages in VS 2010 for SQL Server 2008 R2

    AFAIK you cannot use SSIS with VS2010 (this is documented on MS site and connect items).

    Install and use BIDS from the SQL Server 2008 R2 media.

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Help SQL query

    Yep, my bad :blush:

    Changed my second solution to cater for nulls

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Help SQL query

    SELECT learner,a, b, c, ISNULL(a,0)+ISNULL(b,0)+ISNULL(c,0) AS [total] FROM WHERE ISNULL(a,0)+ISNULL(b,0)+ISNULL(c,0) > 100

    Edited to fix null issue

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Help SQL query

    SELECT COUNT(*) FROM WHERE A+B+C > 100

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: My BiPolar Users aka Sort a AlphaNumeric Field as if its Numeric

    or...

    ORDER BY RIGHT(SPACE(20)+BipolarNumbers,20) ASC

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Are the posted questions getting worse?

    dwain.c (1/15/2013)


    Thought I'd resurrect this thread which has now gone dormant for nearly 24 hours to say:

    Woooohoooo!!! My 2000th post! Time to celebrate!

    Good grief! Seems like only...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Are the posted questions getting worse?

    Grant Fritchey (9/25/2012)


    I'm not getting what this guy is after, so I'm clearly not helping. Could someone else check it out please?

    Oh, and don't pile on the poor guy. I...

    Far away is close at hand in the images of elsewhere.
    Anon.

Viewing 15 posts - 961 through 975 (of 3,544 total)