Viewing 15 posts - 961 through 975 (of 3,544 total)
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.
March 1, 2013 at 6:38 am
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.
February 26, 2013 at 10:20 am
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.
February 21, 2013 at 7:40 am
Evil Kraig F (2/20/2013)
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.
February 21, 2013 at 1:43 am
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.
February 21, 2013 at 1:40 am
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.
February 19, 2013 at 1:41 am
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.
February 18, 2013 at 6:06 am
Stefan Krzywicki (2/15/2013)
Apostrophes are fairly common in names. Why do we still use ' as...
Far away is close at hand in the images of elsewhere.
Anon.
February 18, 2013 at 1:57 am
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.
February 12, 2013 at 6:32 am
Yep, my bad :blush:
Changed my second solution to cater for nulls
Far away is close at hand in the images of elsewhere.
Anon.
January 22, 2013 at 4:49 am
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.
January 22, 2013 at 4:42 am
SELECT COUNT(*) FROM WHERE A+B+C > 100
Far away is close at hand in the images of elsewhere.
Anon.
January 22, 2013 at 4:38 am
or...
ORDER BY RIGHT(SPACE(20)+BipolarNumbers,20) ASC
Far away is close at hand in the images of elsewhere.
Anon.
January 16, 2013 at 7:16 am
dwain.c (1/15/2013)
Woooohoooo!!! My 2000th post! Time to celebrate!
Good grief! Seems like only...
Far away is close at hand in the images of elsewhere.
Anon.
January 16, 2013 at 6:15 am
Grant Fritchey (9/25/2012)
Oh, and don't pile on the poor guy. I...
Far away is close at hand in the images of elsewhere.
Anon.
September 25, 2012 at 6:49 am
Viewing 15 posts - 961 through 975 (of 3,544 total)