Viewing 15 posts - 2,326 through 2,340 (of 8,760 total)
What you have posted is the inline schema definition, not the XML data content apart from the last 5 lines, can you please post fully consumable content?
😎
February 23, 2017 at 8:42 am
This should get you started
😎
;WITH SAMPLE_DATA AS
(
SELECT
22 AS reqf
,'mod' AS attr
,'U' AS...
February 22, 2017 at 1:51 am
February 21, 2017 at 9:03 am
February 18, 2017 at 7:59 am
Quick thought: the query posted is very inefficient with an execution plan that has literally hundreds of operators. This can be significantly simplified, here is an example.
😎
February 18, 2017 at 2:56 am
Out of curiosity, why do you want to do this?
😎
February 18, 2017 at 2:18 am
Two methods which return the same results
😎DECLARE @XML XML;
SET @XML =
N'<root>
<families>
<family>
<Familyid>F1</Familyid>
<FamilyMemberDetails>
<Members>
February 18, 2017 at 12:58 am
Quick questions, in this context, what is random? Must the output be unique every time? Is there a limit for the values, i.e. 1-1000?
😎
February 16, 2017 at 9:12 am
Quite simple really, it is pushing the NULL values to the back of the output rather than having them in front. The curious thing here is that although NULL is...
February 16, 2017 at 6:22 am
I've imported a table into my database from .csv file and now I need to re-map...
February 15, 2017 at 1:46 pm
Quick suggestion
😎
DECLARE @NL CHAR(2) = CHAR(13) + CHAR(10);
DECLARE @MYSTRING VARCHAR(MAX) = REPLACE('Hai,Hello,How are you,Hai all',CHAR(44),@NL);
SELECT @MYSTRING;
Output------------
Hai
Hello
How...
February 15, 2017 at 3:05 am
What is the output of admin cmd "net start", what is shown in the Sql Server Configuration Manager and in Services? Possibly you may have more than one instance running...
February 14, 2017 at 2:58 pm
Quick note, you will have to do intermediate step of either 2005 or 2008 when upgrading to 2016, you can't do this in one step unless you use scripting and...
February 14, 2017 at 10:53 am
February 14, 2017 at 10:46 am
Viewing 15 posts - 2,326 through 2,340 (of 8,760 total)