Viewing 15 posts - 1,156 through 1,170 (of 8,416 total)
ISDATE certainly isn't perfect:
SELECT
ISDATE('200801'),
CAST('200801' AS datetime) /* 2020-08-01 */
Among the improvements in SQL Server 2012 is the new TRY_PARSE function:
SELECT
...
January 13, 2012 at 11:09 pm
Regarding:
GSquared (1/12/2012)
Another way is to get something like RedGate's data generator.
For any serious usage, this is a much better approach than hacking something together based on NEWID. There are...
January 13, 2012 at 10:51 pm
Jeff Moden (1/13/2012)
On one hand, you seem to support avoiding counting rCTEs and then you seem to justify their use on the other.
Yikes. No, what I objected to (reasonably...
January 13, 2012 at 10:44 pm
Jeff Moden (1/13/2012)
SQL Kiwi (1/13/2012)
LutzM (1/13/2012)
January 13, 2012 at 10:03 pm
CELKO (1/5/2012)
Back to foundation. SQL is a set-oriented language. When you do...
January 13, 2012 at 9:31 pm
nigel. (1/13/2012)
And it looks he's succeeded! No sign of the OP :crying:
The simple question was answered long before Joe posted. It seems the questioner has his or her answer,...
January 13, 2012 at 9:17 pm
This is the outline of a solution:
CREATE FUNCTION dbo.NameOfFunction
(
@Buyers varchar(100),
@ReceivedDate date,
...
January 13, 2012 at 9:14 pm
LutzM (1/13/2012)
January 13, 2012 at 8:29 pm
LadyRuna (1/13/2012)
For tiny databases / small result sets, this is awesome. For large result sets, it's...
January 13, 2012 at 8:05 pm
Sergiy (1/13/2012)
How stupid does it sound?
I don't find the analogy useful at all, to be honest. Instead, imagine four people. One reads rows from table A, one reads...
January 13, 2012 at 7:55 pm
Peter Brinkhaus (1/13/2012)
What's the data type of Column1 one in DB2? It looks like a structure containing 6 columns...
I have to say Peter, this is one of the best posts...
January 13, 2012 at 7:46 pm
GSquared (1/13/2012)
jez.lisle (1/13/2012)
I need to be able to Insert or Update the fields depending on what the source table has done.
Yes, but if there are two (or more) rows in...
January 13, 2012 at 7:29 pm
sjimmo (1/13/2012)
I think a lot of issues were brought to the surface with a lot of comments...
January 13, 2012 at 7:53 am
jez.lisle (1/13/2012)
Msg 8672, Level 16, State 1, Line 2
The MERGE statement attempted to UPDATE or DELETE the same row more than once. This happens when a...
January 13, 2012 at 7:39 am
What's the general feeling about asking Steve to remove that "Question for the Experts" thread? +1 vote here.
January 13, 2012 at 7:05 am
Viewing 15 posts - 1,156 through 1,170 (of 8,416 total)