Viewing 15 posts - 1 through 15 (of 28 total)
Hi Jeff,
The following should help.
select *
FROM OPENROWSET('MICROSOFT.ACE.OLEDB.12.0','Text;Database=c:\temp;HDR=Yes', 'SELECT * FROM [test.CSV]')
select *
FROM OpenRowset('MSDASQL', 'Driver={Microsoft Text Driver (*.txt; *.csv)}; DefaultDir=c:\temp;','select * from [test.CSV]')
Further to this, one...
April 17, 2011 at 5:02 pm
Hi there,
thanks for your reply.
Yes You are correct it would be better for them to use openquery and this is something we will try. I am curious why the...
July 1, 2010 at 2:43 pm
A futher update.
If instead of inserting into a table we simply select from the source table no blocking occurs, something like
Select * From [DATA\CA\Queries\CA Import]
June 30, 2010 at 2:40 pm
Here is a screen shot from Activity Monitor showing the blocking
June 25, 2010 at 6:12 pm
A little more information.
The following select statement is being blocked
select table_name from INFORMATION_SCHEMA.VIEWS where table_name like 'AAA_Utilities_AAA%'
by
Select * into [testable]
From [DATA\CA\Queries\CA Import]
in which [DATA\CA\Queries\CA Import] is a view shown...
June 25, 2010 at 5:51 pm
Hi all,
Firstly, There are now 64 bit OLEDB drivers available, these were released with the release 64 bit Microsoft Office earlier this month and have been around in beta form...
May 12, 2010 at 2:35 pm
A little more information on this one.
If I use the MICROSOFT.JET.OLEDB.4.0 driver I get the same problems.
If I use ODBC, Driver={Microsoft Excel Driver (*.xls) it works fine.
May 7, 2010 at 9:58 pm
If I specify a SCHEMA.INI file with DateTimeFormat="yyyy-mm-dd" the datetime column is read in as varchar correctly, I can then cast it to datetime. It therefore appears that the...
May 7, 2010 at 2:45 pm
Melbourne Australia, UTC + 10:00
May 7, 2010 at 2:00 pm
A little more information for the pot.
If I add some extra rows to the csv file
DATETIME
2010-05-04 07:00
2010-05-04 07:00:00
2010-05-04 08:00:00
2010-05-04 07:10:10
These are read in as
2010-05-04 06:59:59.997
2010-05-04 06:59:59.997
2010-05-04 08:00:00.000
2010-05-04 07:10:10.000
Note the 2010-05-04...
May 6, 2010 at 8:10 pm
Firstly, I must appologise for not including some sample data, while I have visited the site many times, I haven't asked many questions and really just didn't think about it...
April 12, 2010 at 5:19 pm
Yes, one would think there should be a better solution however, Microsoft have not released 64-bit versions of ACE and their suggestion is to use SSIS when accessing external data....
June 9, 2009 at 5:37 am
My application has no problems connecting and using 64 SQL Server apart from the inability to use ACE drivers. My application created views which use OPENROWSET to access external...
June 9, 2009 at 3:25 am
Sorry, I must be having a bit of a thick moment.
Are you saying that the ACE drivers can be used in an openrowset query in a x64 installation of...
June 8, 2009 at 4:00 pm
Hi there,
Thanks for you reply, however I'm pretty sure the ACE drivers are only 32 bit and won't load into a 64 bit installation of SQL. To...
June 7, 2009 at 10:36 pm
Viewing 15 posts - 1 through 15 (of 28 total)