Viewing 15 posts - 2,611 through 2,625 (of 8,731 total)
Anandkumar-SQL_Developer (6/24/2016)
Thank u very much Luis Cazares for your valuable time. its working.
The question now is. Do you understand it? Would you be able to explain it to someone else...
June 24, 2016 at 8:03 am
Hugo Kornelis (6/24/2016)
Ed Wagner (6/24/2016)
Grumpy DBA (6/24/2016)
Ed Wagner (6/24/2016)
ThomasRushton (6/24/2016)
BallsFire
Jerry Lee Lewis
Slapstick
Laurel and Hardy
Tom & Jerry
June 24, 2016 at 7:46 am
I'm sorry, is there any country that can give me good news? It seems that Mexico, US and UK are full of negative news and I'm getting grumpy and sarcastic...
June 24, 2016 at 7:17 am
Your first problem is to use SQL code as VB code.
The second problem is that you have an ELSE which you shouldn't have.
Here's an alternative, which is simpler than Eirikur's...
June 24, 2016 at 7:13 am
Because one needs a group to show a row and the other doesn't.
June 24, 2016 at 7:00 am
Your comments are completely right. I just don't want to assume something with someone new to SQL.
It's not a problem if we change variables' values in a stored procedure, the...
June 24, 2016 at 6:33 am
patrickmcginnis59 10839 (6/23/2016)
Luis Cazares (6/23/2016)
itortu (6/22/2016)
Thank you Luis C.
You're welcome.
Do you understand that this is not the best use of a stored procedure? Stored procedures (as any database code) is...
June 23, 2016 at 1:52 pm
trboyden (6/23/2016)
dhaveedh (6/23/2016)
June 23, 2016 at 1:44 pm
trboyden (6/23/2016)
Luis Cazares (6/23/2016)
It is a valid date.What do you mean by "the correct error checking functions"?
http://www.w3schools.com/sql/sql_dates.asp
http://www.w3schools.com/sql/func_convert.asp
https://msdn.microsoft.com/en-us/library/ms187347.aspx ( ISDATE() Function)
https://technet.microsoft.com/en-us/library/ms179465(v=sql.105).aspx ( Handling Database Engine Errors )
http://sqlmag.com/t-sql/t-sql-best-practices-part-2 (See datetime best practices...
June 23, 2016 at 11:00 am
ThomasRushton (6/23/2016)
Y.B. (6/23/2016)
Ed Wagner (6/23/2016)
Grumpy DBA (6/23/2016)
Ed Wagner (6/23/2016)
PlainJane
Tarzan
Lord (of the apes)
Flies
Conch
June 23, 2016 at 10:42 am
trboyden (6/23/2016)
dhaveedh (6/23/2016)
In your last post you said SELECT CONVERT(Datetime, '29-Feb-2') returns an error because SQL Server does not accept single digit years?
Why does SELECT CONVERT(Datetime, '28-Feb-2') return 2002-02-28 00.00.00.000...
June 23, 2016 at 10:17 am
Lisa Slater Nicholls (6/23/2016)
Luis Cazares (6/23/2016) It appears that UTF-8 is only compatible on 2016.
Wow, good to know. Do you have a doc reference for this being supported...
June 23, 2016 at 10:13 am
Your function doesn't do all the validations that you mention. Are you aware of that?
June 23, 2016 at 9:15 am
Lisa Slater Nicholls (6/22/2016)
I used to do this all the time --
My understanding has always been that UTF8 was not supported by BCP. Therefore, if the incoming file...
June 23, 2016 at 9:04 am
itortu (6/22/2016)
Thank you Luis C.
You're welcome.
Do you understand that this is not the best use of a stored procedure? Stored procedures (as any database code) is meant to work with...
June 23, 2016 at 8:39 am
Viewing 15 posts - 2,611 through 2,625 (of 8,731 total)