Viewing 15 posts - 1 through 15 (of 25 total)
nonstandard ...
In context .. the modeling is correct (or the default, at least I think so, sorry...;-)):
create table #students
(id int identity (1,1)...
March 27, 2013 at 5:37 am
Jeff Moden (3/21/2013)
carlosaamaral (3/21/2013)
Sean Lange (3/21/2013)
carlosaamaral (3/21/2013)
MID=(CASE WHEN ID-100=0 THEN NULL
...
March 23, 2013 at 5:46 am
Sean Lange (3/21/2013)
carlosaamaral (3/21/2013)
MID=(CASE WHEN ID-100=0 THEN NULL
...
March 21, 2013 at 11:19 am
Logic ?
MID=(CASE WHEN ID-100=0 THEN NULL
...
March 21, 2013 at 9:58 am
OPS... living and learning ....
changed to level 100 - perfect ..
; WITH THE Strings (
SELECT String = 'AJKY.GSEFD6, 7345535HNB, BBN4343.434'
UNION ALL SELECT '11-908 / *** 88AB; '
)
SELECT
s.String,
x.NewString
FROM Strings s
CROSS...
February 7, 2013 at 7:32 am
Hello Chris,
Sorry - I may be doing something wrong ...
Message 102, Level 15, State 1, Line 11
Incorrect syntax near '.'.
;WITH Strings AS (
SELECT String = 'AJKY.GSEFD6,7345535HNB,BBN4343.434'
UNION ALL SELECT...
February 7, 2013 at 6:04 am
Good Morning,
to 200,000 lines is very, very slow ..... :crying:
to 1 line, it's good ...
I will continue using the replace...
February 7, 2013 at 3:12 am
FANTASTIC :w00t: ...
responding very quickly ..
THANK YOU
February 6, 2013 at 12:33 pm
Aberration *= e (+)(Oracle), terrible ... *= Dead in SQL2012.....
has happened in a database 2005 (left outer join urgent!) 😀
December 21, 2012 at 3:22 am
SELECT 'Group Name'=AA.NAME,
'Type 1'= (CASE WHEN (SELECT TOP 1 name FROM #GroupTypes BB WHERE BB.grouptype_id=AA.grouptype_id)='Type 1' THEN 'X' ELSE '-' END),
...
December 19, 2012 at 4:54 am
Correction: this is my solution ... Eugene, did not like the use of non-ansi join... After.. Everything started ... 😀
...
December 17, 2012 at 6:47 am
Logic ???? :w00t:
DECLARE @T TABLE(ID INT,NAME VARCHAR(10))
INSERT INTO @T VALUES(1,'PPP')
INSERT INTO @T VALUES(2,'AAA')
INSERT INTO @T VALUES(2,'ZZZ')
INSERT INTO @T VALUES(3,'XYZ')
INSERT INTO @T VALUES(4,'PQR')
INSERT INTO @T VALUES(5,'ZAB')
DECLARE @T_INPUT TABLE(ID int...
December 11, 2012 at 10:16 am
Hi,
is correct XML file?
in some cases the tags were not closed: <Node... /> or <Node...> </ Node> ...
DECLARE @idoc...
December 7, 2012 at 4:29 am
(CASE WHEN (CHARINDEX('M',Position)!=0 And CHARINDEX('D',Position)!=0) THEN 'MD'
ELSE POSITION -- ??
END) PositionCorrected
...
November 29, 2012 at 12:18 pm
Viewing 15 posts - 1 through 15 (of 25 total)