Viewing 15 posts - 76 through 90 (of 748 total)
Luis Cazares (11/8/2016)
Did you create the import from scratch, again? It might have kept the length in the package even if the column length was increased.
Yes, I tried a few...
November 8, 2016 at 8:58 am
CELKO (10/28/2016)
COBOL, COBOL, COBOL, you really should get yourself out of the '80s, it's...
October 28, 2016 at 8:21 pm
Thanks Luis.
October 27, 2016 at 1:51 pm
As I said already, it was an error introduced at the beginning of importing data, after I found the cause and re-imported the data, the issue doesn't apply anymore.
But...
October 27, 2016 at 1:06 pm
It turns out to be something with the original data import, the function str is fine, and no need because the re-import fixed the issue.
Sorry for confusing.
October 27, 2016 at 10:33 am
found a simple solution: select str(column)
PS. the above query is producing wrong result, changing 1234565789 to 123456000, I'm keep searching for a simple solution now
October 27, 2016 at 9:44 am
I kind of remember I saw Jeff published a post somewhere about pivot, but just couldn't find it any more, maybe Jeff can post the link here again? Thanks.
October 20, 2016 at 7:47 pm
Thank you very much. For people who read the post in the future, the final script is actually very simple and working:
SELECT Category, ColName, Value
FROM (SELECT * FROM [WeeklySummary]) AS...
December 4, 2015 at 2:34 pm
Sorry the data looks so messy after it was posted. You got the idea though.
December 4, 2015 at 2:01 pm
Thanks.
No, I didn't try as I don't know how to do it in a single query, I know for sure I can get it done using a stored procedure with...
December 4, 2015 at 2:00 pm
ScottPletcher (9/3/2015)
But, in short, here's the approach I recommend:
1) encode the large...
September 5, 2015 at 5:47 am
Jeff Moden (9/3/2015)
Since "RecordsWritten" is likely different for each instance of any single Network_Group_Name, you'll probably end up with a 40 million row return that simply duplicates the individual values...
September 5, 2015 at 5:46 am
The import process took less than half an hour and complete like an amazing miracle, and with no error even for the last line.
Thank you very much Luis for your...
September 3, 2015 at 11:27 am
Luis Cazares (9/3/2015)
halifaxdal (9/3/2015)
The data row contains comma in one of the column, which makes the bcp thinking it is a delimiter.
Maybe I need to re-generate the...
September 3, 2015 at 10:12 am
I found the issue:
The data row contains comma in one of the column, which makes the bcp thinking it is a delimiter.
Maybe I need to re-generate the data by changing...
September 3, 2015 at 10:02 am
Viewing 15 posts - 76 through 90 (of 748 total)