Viewing 15 posts - 376 through 390 (of 927 total)
support 86837 (11/25/2014)
November 26, 2014 at 2:37 am
i assumed that you have a table which is having xml column.
DECLARE @xml TABLE (id INT IDENTITY(1,1), xmldoc XML)
INSERT INTO @xml
SELECT '<?xml version="1.0"?>
<CC>
<Type>1</Type>
<Exp>1112</Exp>
<Number>123456</Number>
<Name><![CDATA[RobRobertson]]></Name>
<Amt>18.06</Amt>
<Auth>33875</Auth>
</CC>'
UNION ALL
SELECT '<?xml version="1.0"?>
<CC>
<Type>2</Type>
<Exp>1113</Exp>
<Number>123456</Number>
<Name><![CDATA[RobRobertson000]]></Name>
<Amt>182.06</Amt>
<Auth>3387225</Auth>
</CC>'
UNION ALL
SELECT ...
November 25, 2014 at 11:17 pm
Igor Micev (11/17/2014)
The Question came as a real case experience with a software developer, and I had to do the update in that way, ... so thought to share it.Thanks.
+1000,...
November 17, 2014 at 3:31 am
No matter whats happens later in today about identical answer or not.
Very nice question, Thanks for sharing
November 11, 2014 at 12:06 am
kevin 26531 (11/8/2014)
Anyone got any...
November 9, 2014 at 11:17 pm
Nice and easy end of the week QotD :-). Thanks for sharing
November 7, 2014 at 4:14 am
Here is another way of achieving by using TALLY table logic.
DECLARE @dataTABLE (groupid int, salesperhour tinyint)
DECLARE @groups TABLE (id int, groupname char(3))
INSERT INTO @groups VALUES (1,'aaa'),(2,'bbb')
INSERT INTO @dataVALUES
(1,1),
(1,7),
(2,2),
(2,5),
(2,6)
-------- Create...
November 7, 2014 at 4:12 am
you can look into the following two options.
1) Check if the UDF used in the WHERE Clause is slowing the query. you can do this by getting the value in...
November 7, 2014 at 3:52 am
Koen Verbeeck (11/6/2014)
twin.devil (11/6/2014)
Nice question, it reminded me when i used this wizard 1st time for flat file :-).Thanks for sharing.
The problem is that only the wizard has this issue,...
November 6, 2014 at 3:59 am
Nice question, it reminded me when i used this wizard 1st time for flat file :-).
Thanks for sharing.
November 6, 2014 at 3:36 am
SQLServerCentral there are alot of articles which might help you to kick start your database knowledge and understanding.
"Stairways" is one of the best because its start from very basic...
November 6, 2014 at 2:46 am
I have four Excel tables named BasicData, FacilityData, StaffData and StudentData. They all have SchoolCode as PK in them
if I follow the solution which you have suggested here then I...
November 6, 2014 at 12:09 am
Viewing 15 posts - 376 through 390 (of 927 total)