Click here to Skip to main content
15,896,606 members
Home / Discussions / Database
   

Database

 
AnswerRe: sql query parser Pin
Wendelius5-Feb-09 6:06
mentorWendelius5-Feb-09 6:06 
AnswerRe: sql query parser Pin
PIEBALDconsult5-Feb-09 6:11
mvePIEBALDconsult5-Feb-09 6:11 
QuestionGrouping to eliminate null Pin
member274-Feb-09 20:00
member274-Feb-09 20:00 
AnswerRe: Grouping to eliminate null Pin
Ennis Ray Lynch, Jr.5-Feb-09 6:33
Ennis Ray Lynch, Jr.5-Feb-09 6:33 
Questioncountry,state ,city, table in sql server Pin
surajitkhamrai4-Feb-09 19:09
surajitkhamrai4-Feb-09 19:09 
AnswerRe: country,state ,city, table in sql server Pin
Rob Philpott4-Feb-09 22:03
Rob Philpott4-Feb-09 22:03 
QuestionSQL xml: get xml values into CSV? Pin
pankazmittal4-Feb-09 11:38
pankazmittal4-Feb-09 11:38 
AnswerRe: SQL xml: get xml values into CSV? Pin
Wendelius5-Feb-09 5:59
mentorWendelius5-Feb-09 5:59 
The data you posted isn't in xml format so it's quite hard to say what the correct way would be. But let's suppose you have something like in the following example, then your query could be
declare @testdata xml
set @testdata = 
'<Root>
<element>1212</element>
<element>1122</element>
<element>1123</element>
<element>1124</element>
</Root>'
SELECT @testdata.query('for $e in /Root/element return concat(string($e),'', '')')


The need to optimize rises from a bad design.My articles[^]

GeneralRe: SQL xml: get xml values into CSV? Pin
pankazmittal5-Feb-09 9:08
pankazmittal5-Feb-09 9:08 
GeneralRe: SQL xml: get xml values into CSV? Pin
Wendelius5-Feb-09 9:16
mentorWendelius5-Feb-09 9:16 
QuestionWriting to Console from SQL Server Stored Procedure Pin
ragtopcathy4-Feb-09 4:09
ragtopcathy4-Feb-09 4:09 
AnswerRe: Writing to Console from SQL Server Stored Procedure Pin
Wendelius4-Feb-09 7:19
mentorWendelius4-Feb-09 7:19 
GeneralRe: Writing to Console from SQL Server Stored Procedure Pin
ragtopcathy4-Feb-09 7:21
ragtopcathy4-Feb-09 7:21 
GeneralRe: Writing to Console from SQL Server Stored Procedure Pin
Wendelius4-Feb-09 8:01
mentorWendelius4-Feb-09 8:01 
QuestionCase sensitivity Pin
Fayu4-Feb-09 3:36
Fayu4-Feb-09 3:36 
AnswerRe: Case sensitivity Pin
Wendelius4-Feb-09 7:39
mentorWendelius4-Feb-09 7:39 
GeneralRe: Case sensitivity Pin
Fayu4-Feb-09 9:47
Fayu4-Feb-09 9:47 
GeneralRe: Case sensitivity Pin
Wendelius5-Feb-09 5:40
mentorWendelius5-Feb-09 5:40 
Questionsql with count [modified] Pin
foryou4-Feb-09 0:12
foryou4-Feb-09 0:12 
AnswerRe: sql with count Pin
Blue_Boy4-Feb-09 5:33
Blue_Boy4-Feb-09 5:33 
AnswerRe: sql with count Pin
Wendelius4-Feb-09 8:21
mentorWendelius4-Feb-09 8:21 
QuestionSQL Clause Run Order Pin
dataminers3-Feb-09 23:18
dataminers3-Feb-09 23:18 
AnswerRe: SQL Clause Run Order Pin
Muhammad Shahid Farooq4-Feb-09 1:39
professionalMuhammad Shahid Farooq4-Feb-09 1:39 
AnswerWhy ? Pin
David Mujica4-Feb-09 3:19
David Mujica4-Feb-09 3:19 
QuestionAbout SQL Query Pin
Sasmi_Office3-Feb-09 20:40
Sasmi_Office3-Feb-09 20:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.