Viewing 15 posts - 4,156 through 4,170 (of 26,490 total)
Could you post the actual SQL you are trying to generate. I'm a little lost from the what you posted and knowing what the final result that would be...
January 12, 2016 at 9:59 am
If you are splitting a VARCHAR(MAX) or NVARCHAR(MAX) string, you should look at using a CLR splitter instead of a T-SQL splitter.
Please check out this article for information: http://www.sqlservercentral.com/articles/Tally+Table/72993/.
Also, in...
January 12, 2016 at 9:56 am
Sergiy (1/11/2016)
Kedazs (1/11/2016)
January 11, 2016 at 4:31 pm
Eirikur Eiriksson (1/10/2016)
rahulsahay123 (1/8/2016)
Values are like : 01092015
Now i want to convert this into...
January 11, 2016 at 7:58 am
Jason A. Long (1/8/2016)
rahulsahay123 (1/8/2016)
Values are like : 01092015
Now i want to convert this...
January 8, 2016 at 4:48 pm
Tallboy (1/8/2016)
Looking for a cte which will list all dates between 2 dates 7 days apart. May want to change to 14 days apart later.
Here is my code....but gives...
January 8, 2016 at 4:23 pm
TomThomson (1/8/2016)
Brandie Tarvin (1/6/2016)
djj (1/5/2016)
SQLBill (1/5/2016)
If I hear of any openings anywhere that allow full work from home, I'll pass them your way.-SQLBill
There all over the internet.:-P And I...
January 8, 2016 at 11:09 am
simon-hulse (1/8/2016)
January 8, 2016 at 10:44 am
simon-hulse (1/8/2016)
January 8, 2016 at 10:34 am
Sergiy (1/7/2016)
Alan.B (1/7/2016)
Using a CTE and keeping the code compatible with SQL 2005, we could re-write the code like this:
...
Huge, Huge improvement!!! Irrefutable evidence of the usefulness of a CTE.
Compare...
January 7, 2016 at 4:02 pm
You have to remember that many times threads go off on tangents, and sometimes the tangents actually impart knowledge that may not have been provided otherwise.
I don't believe that this...
January 7, 2016 at 8:20 am
Toreador (1/7/2016)
Rich Mechaber (1/6/2016)
SET LANGUAGE british
SELECT CAST('2003-02-28' AS datetime);
Server: Msg 242, Level 16, State 3, Line 4
The conversion of a char data type to a...
January 7, 2016 at 8:17 am
Stephanie J Brown (1/5/2016)
mjh 45389 (1/5/2016)
Stephanie J Brown (1/4/2016)
January 7, 2016 at 8:16 am
Sergiy (1/6/2016)
Lynn Pettis (1/6/2016)
January 6, 2016 at 4:23 pm
Sergiy (1/6/2016)
Luis Cazares (1/6/2016)
I'll just want some help from those who prefer subqueries over CTEs to transform one of our favorites functions.
Here you go:
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE FUNCTION [dbo].[DelimitedSplit8K_NoCTE]
--=====...
January 6, 2016 at 3:37 pm
Viewing 15 posts - 4,156 through 4,170 (of 26,490 total)