Viewing 5 posts - 1 through 6 (of 6 total)
It didn't like @WDA smallint, so I had to change to nvarchar(2). I ended up taking out the 'region_id= ' in all the sql statements and dumped all regions...
February 8, 2008 at 3:10 pm
Sounds good. I'll have to play with it. Probably won't have anything until late next week. I'll be out of the office M-W.
Not sure I...
February 8, 2008 at 2:09 pm
I did set it up that way. Still got chopped. Thanks.
February 8, 2008 at 1:49 pm
Thanks again. I got it working, but unfortunately, my sql statements exceeded what nvarchar will hold for the @sql parameter. I just gave you a portion of the...
February 8, 2008 at 1:17 pm
Thanks Adam. Where do I pass in the worksheet name? This is a portion of my sp:
Create procedure spAttendanceWDA (@WDA smallint)
as
insert into OPENROWSET('Microsoft.Jet.OLEDB.4.0',
'Excel 8.0;Database=(path)\TEST.XLS;',
'SELECT * FROM [Sheet1$]')
Select PY,...
February 8, 2008 at 10:59 am
Viewing 5 posts - 1 through 6 (of 6 total)