Viewing 15 posts - 6,586 through 6,600 (of 7,168 total)
Sure, you can use it just like a table...with INSERT INTO, or even as a SELECT INTO.
April 21, 2011 at 7:41 am
Well put Steve. Love field involved in a minor (in the grand scheme) mishap, and then your reaction, how appropriate 🙂
April 20, 2011 at 11:44 pm
forsqlserver (4/20/2011)
Msg 15406, Level 16, State 1, Line 1
Cannot execute as the server principal because...
April 20, 2011 at 11:38 pm
Yin Halen (4/20/2011)
Thanks for the reply. I was able to use the openrowset with Microsoft.Jet.OLEDB.4.0
SELECT * FROM OPENDATASOURCE('Microsoft.Jet.OLEDB.4.0',
'Data Source=C:\DevWork\example_ss.xls;Extended Properties=Excel 8.0')...[Sheet1$]
Not sure if it matters but I...
April 20, 2011 at 11:06 pm
Here is what worked for me...
1. Install the latest ACE provider then restart the SQL Server service: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=C06B8369-60DD-4B64-A44B-84B371EDE16D&displaylang=en
2. Then modify some setting on the provider in SQL Server:
USE [master]
GO...
April 20, 2011 at 10:17 pm
You posted in a SQL 2008 forum. Not that you won't receive help, but you may have better luck posting your question in one of the SQL 2000 forums.
April 20, 2011 at 9:36 pm
Double post. Please reply here: http://www.sqlservercentral.com/Forums/Topic1096678-391-1.aspx
April 20, 2011 at 9:34 pm
I'm wondering if OPENROWSET would do the trick. Does the spreadsheet contain sensitive info? Could you attach it to this thread?
April 20, 2011 at 9:33 pm
See if this article is relevant to your situation:
April 20, 2011 at 6:36 pm
That's a good question...I do not have much experience using with UNSAFE assemblies. I am wondering whether SQL Server treats them different somehow.
April 20, 2011 at 5:11 pm
I just got around to trying the new Office 2010 drivers, albeit the 32-bit ones. I don't have a 64-bit sandbox available to me at the moment.
I was able to...
April 20, 2011 at 5:07 pm
Craig Farrell (4/20/2011)
The trick is to convert to VARBINARY in the middle with the style: 1
Here's some sample code:
DECLARE @hexStr VARCHAR(20),
@hexBin varBINARY(20)
SET @hexStr...
April 20, 2011 at 4:29 pm
You can do it using OPENROWSET BULK instead of BULK INSERT and still use the same format file you already created. Here is a proof of concept that works on...
April 20, 2011 at 4:12 pm
With a UDF such as the one in this article...
http://sqlblog.com/blogs/peter_debetta/archive/2007/03/09/t-sql-convert-hex-string-to-varbinary.aspx **
...you can then do stuff like this:
SELECT CAST(dbo.HexStrToVarBin('0x80074e21') AS BIGINT) ;
** Note that I am not vouching for this...
April 20, 2011 at 3:58 pm
HowardW (4/19/2011)
64 bit systems can address 2^64 bytes of memory, but as this is hugely above any likely...
April 20, 2011 at 3:00 pm
Viewing 15 posts - 6,586 through 6,600 (of 7,168 total)