Viewing 15 posts - 1 through 15 (of 168 total)
Mark, perfect, thank you!
August 18, 2021 at 10:49 am
This is the best I was able to do. Is there a better way?
DECLARE @ColumnName2 varchar(99)SELECT @ColumnName2 = COLUMN_NAME FROM tempdb.INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = N'##tmp' AND ORDINAL_POSITION...
September 24, 2019 at 12:58 am
Yikes, disregard the question; made a simple mistake.
September 11, 2019 at 10:02 am
As mentioned, I have a 12,000,000 line txt file; for testing I used a text editor (Ultra Edit) to add a row number. Obviously in a production situation would not...
May 12, 2019 at 4:46 pm
Unfortunately there is no way with the current file to keep order. When I did my testing before bulk insert I used Ultra Edit to add a row number. That...
May 10, 2019 at 12:46 pm
What you posted helped, I could not identify what was filling the field. What I'd wanted to do was get rid trailing 0x00 bytes. Looks like this will work. Thanks!
April 11, 2019 at 2:41 pm
So concat field will look lie this:
10, 20, 30
10, 0, 30
11, 21, 31
21, 31, 0
not like this:
102030
10030
112131
2131
February 23, 2019 at 3:53 pm
Lynn, that is exactly what I was needing. Thank you.
October 29, 2018 at 12:26 pm
LinksUp, very close. Taking what you did and modifying it a bit gets the desired result. Thank you.
October 29, 2018 at 9:43 am
Table #W2 is the list of all W2 employees. 4 and 5 only have employees from that table. All other tables have employees who are not in the #W2 table...
October 29, 2018 at 4:44 am
Geez, I'm stoopid, LOL ..this works but is there a better way
DECLARE @yrMo
August 10, 2018 at 7:45 pm
I thought I did this once before but could not find the solution. Continued to search and found it.
IF OBJECT_ID('tempdb..#FlattenIt') IS NOT NULL DROP TABLE...
April 2, 2018 at 9:05 am
Viewing 15 posts - 1 through 15 (of 168 total)