Viewing 15 posts - 1 through 15 (of 19 total)
Preamble:
And, "Welcome Back" to SSC... this is only your 4th question and 18th post in 15 years. I hope that means that you and yours are doing well. 😀
Thanks...
July 26, 2023 at 1:28 pm
On your DR Doc, I would document what the role is of Each server then in what order they will take in the event of a failure. ie how to...
July 25, 2023 at 8:17 pm
Yes Jeff you are correct.
in the picture attached is what i am trying to achieve but with only a single digit it is throwing off the next record set.
July 25, 2023 at 6:00 pm
Sorry Jeff, I had posted it before...but here is a better view of the strings i am dealing with.
UIMth: 07/01/23 UISeq: 3218 Line: 1 Reviewer: MAH
UIMth: 07/01/23 UISeq: 3218 Header...
July 25, 2023 at 2:16 pm
How can i adjust the substring to grab from 1 to 4 numbers in the UISeq?
SELECT UIMth = substring(t.yourcolumn, 8, 8)
, UISeq = substring(t.yourcolumn, 24, charindex(' ', t.yourcolumn, 24) -...
July 24, 2023 at 3:01 pm
Thank you, that helped allot.
Jim
July 21, 2023 at 10:36 pm
Thank you for you input, that actually worked for me.
what worked? creating a valid CSV file or removing potentially valid data from your output? and if removing valid...
April 27, 2023 at 1:48 pm
Thank you frederico_fonseca,
That actually worked for me.
e.g. on your SQL statement source (or on your SP if that is the source of the data) you do
select xxx
,...
April 27, 2023 at 1:34 pm
Thank you for you input, that actually worked for me.
April 27, 2023 at 1:31 pm
Here is a small sample of the end of the records with the phantom CRLF
,,,04/09/1991 00:00:00,04/09/1991 00:00:00,,,,SALARIED MANAGER,6328,Y,801
,,,09/18/1991 00:00:00,09/18/1991 00:00:00,,,,PG 105 AFCO LR 1ST,6194,N,201
,,,01/20/1992 00:00:00,01/20/1992 00:00:00,,,,PG 105 AFCO LR 1ST,5970,N,201
,,,01/23/1992...
April 25, 2023 at 8:16 pm
Yes i had to do it that way then vendor wants the dates in a specific format and that was the only way I knew how to achive that... and...
April 13, 2023 at 1:15 pm
If that is not the correct way to do dates then what is? I have used that way for a long time...but if you have a better way then by...
April 13, 2023 at 1:13 pm
Thank you, i guess I had just looked over it.....it was set to dbtimestamp in the output.....thank you for that...
April 13, 2023 at 1:10 pm
Omri script works great. I have used it a couple of time.
October 9, 2008 at 1:46 pm
Thanks for all your imput. It is kind of funny that i posted this on Microsoft also and got a better response from sqlservercentral than them.
Thank guys
May 20, 2008 at 2:09 pm
Viewing 15 posts - 1 through 15 (of 19 total)