Viewing 15 posts - 1 through 15 (of 15 total)
Lowell (21/09/2007)
you gotta try what i posted: you end up with a 15 character string with the preceeding zeros you requested.
SELECT RIGHT('000000000000000' + CONVERT(VARCHAR,1),15)
SELECT RIGHT('000000000000000' + CONVERT(VARCHAR,86456),15)
SELECT...
September 24, 2007 at 12:10 am
Lowell,
I thing my question was not so clear, as i say before the 000000000086456 parts is always 15 character, that mean when i get a higher row number for example 765486456 then I have...
September 21, 2007 at 7:34 am
Dear Jeff,
I have to calculated, 53910072007 parts is date and time (hmiddmmyyyy) and 000000000086456 parts is total row. With Lowell scripts and after a little changing I can make the following...
September 21, 2007 at 3:07 am
Lowell,
Thank you very much.. It works.. You don't have any idea how long I was busy with this script..
September 20, 2007 at 1:15 am
Hi,
It looks like my question is too difficult or not so clear, so I will like repeat my question.
I want to export data from...
September 19, 2007 at 12:57 am
Vladan,
you are right about the export and headers things. well what i want to have is:
The table i have look like this:
Column1 Column2
1 Hi
September 18, 2007 at 3:37 am
Well.. it working.. I made manually a format file.. as fallowing:
7.0
1
1 SQLCHAR 0 100 "" 1 column name ... etc, and then i used bcp utility to fill the table in the...
September 12, 2007 at 4:34 am
here are the hex editor view too, i used xvi32 hex editor.
http://www.mediafire.com/?04y4uyj9tne
thx again..
Cees
September 12, 2007 at 1:00 am
Here you are.. you can download the file from this link..
http://www.mediafire.com/?efcdmj9n4x1
thx..
Cees
September 12, 2007 at 12:51 am
Dear Noeld,
I get zipped .dat file from the FTP. I have first unzipping the file op the server and then use it in the DTS.
Now as I said before...
September 11, 2007 at 12:28 pm
I tread to made a file format by using the fallowing.. Command:
bcp c:\or\test.dat format nul –T –n –f c:\ds\test.fmt
September 10, 2007 at 2:24 am
Dear Noeld,
Yes, I did. But I get the same result '(0 row(s) affected)'
September 10, 2007 at 1:53 am
Dear Sergiy,
it look like it work.. i mean i don't get any error anymore but i get "(0 row(s) affected)".
see my change:
BULK INSERT
test.dbo.tbunix
FROM 'C:\test\unix.dat'
WITH
(
CODEPAGE =...
September 7, 2007 at 8:09 am
David,
Iam not sure what je mean but I get by each ' ' 07 as value.
September 7, 2007 at 8:03 am
Dear David,
I used two Hex editor tools: (xvi32 and HxDBetafi) both telling my that '' is the actual column delimiter's. do you recommending any another tools?
Thx..
September 7, 2007 at 7:24 am
Viewing 15 posts - 1 through 15 (of 15 total)