Viewing 15 posts - 8,761 through 8,775 (of 13,882 total)
Out of interest, did you also try saving the input file with UTF-8 as suggested in the link?
January 21, 2015 at 4:50 am
Well, that narrowed the problem down well.
I think that the solution may be found in this article.
January 21, 2015 at 3:07 am
Nice article Andy. I have recently written a stored proc which looks very like yours.
The differences:
1) It lives in a separate library-type database (I want it clean and fully source-controlled)
2)...
January 21, 2015 at 2:57 am
I presume that you've checked that the T-SQL script works fine if you run it in SSMS? (Works fine on my system, so I am guessing yes.)
You could perhaps try...
January 21, 2015 at 2:12 am
brad.mccollum (1/20/2015)
I have a bunch of earlier-versioned SQL Server stuff still on my laptop and I'd like...
January 21, 2015 at 12:43 am
JoshDBGuy (1/20/2015)
Koen Verbeeck (1/20/2015)
JoshDBGuy (1/20/2015)
That's going to be a nightmare, I'd prefer to not do that.I'm not sure why a SQL Server instance would be a nightmare.
It's not a nightmare,...
January 20, 2015 at 12:00 pm
dmj120 (1/20/2015)
January 20, 2015 at 10:58 am
JoshDBGuy (1/20/2015)
Phil Parkin (1/20/2015)
JoshDBGuy (1/20/2015)
January 20, 2015 at 10:51 am
Sorry but I don't have a clue – I did not know that was even possible!
January 20, 2015 at 10:45 am
JoshDBGuy (1/20/2015)
January 20, 2015 at 10:33 am
Koen Verbeeck (1/20/2015)
Phil Parkin (1/20/2015)
According to Merriam-Webster: it should be ID.
Id - or in a sentence id - refers to part of the psyche defined by Freud.
For a bit...
January 20, 2015 at 6:20 am
According to Merriam-Webster: it should be ID.
Id - or in a sentence id - refers to part of the psyche defined by Freud.
For a bit of balance, have a...
January 20, 2015 at 5:42 am
Jay Sapani (1/20/2015)
January 20, 2015 at 4:54 am
Jay Sapani (1/20/2015)
Table 1 - Person
With Columns PersonID,PersonGrp,PersonName
1,'',Person1
2,Grp1,Person2
3,Grp1,Person3
4,Grp2,Person4
5,Grp2,Person5
6,'',Person6
7,'',Person7
Table 2 - PersonMap
With Columns MapID,MapDepartment,MapGrp,MapPerID,DateFrom,DateTo
1,'ADMIN',,1,'01-JAN-2007',''
2,'MGMT',Grp1,,'01-JAN-2007','31-DEC-2008'
3,'MGMT',Grp2,,'01-JAN-2009',''
4,'OTHER',,,'01-JAN-2007',''
Required Output
PersonID,MapID,MapDepartment,DateFrom,DateTo
1,1,'ADMIN','01-JAN-2007',''
2,2,'MGMT','01-JAN-2007','31-DEC-2008'
2,4,'OTHER','01-JAN-2009',''
3,2,'MGMT','01-JAN-2007','31-DEC-2008'
3,4,'OTHER','01-JAN-2009',''
4,2,'MGMT','01-JAN-2009',''
5,2,'MGMT','01-JAN-2009',''
6,4,'OTHER','01-JAN-2007',''
7,4,'OTHER','01-JAN-2007',''
Please Help With Query To Achieve Them Same
WithOut Temp Shifting and...
January 20, 2015 at 1:13 am
And I'll be interested to hear which 'imaginary' column names you come up with 🙂
January 19, 2015 at 10:35 am
Viewing 15 posts - 8,761 through 8,775 (of 13,882 total)