Developers community number 1 connection string reference

Accessing MS-eXcel Data from SQLPlus

Posted 2011-05-16 17:04
by Dan Thalimer
in the Oracle Forum
I am running Oracle 10g on an Windows XP system.

1. How do I access data in a MS-eXcel spreadsheet from SQLPlus? I have set up the eXcel ODBC Driver.

2. What does the following SQL Server code translate to in SQL Plus?

Declare @equip INT
Set @equip = (select ID from azteca.PWSYSID where SYSTYPE = 'MISC') + 1
DBCC CHECKIDENT ('equipment_Raw', reseed, @equip)
Reply 2011-05-16 19:33
by Dan Thalimer
in the Oracle Forum
Please ignore item 2, this is SQL Servers AutoNumber function and I can use SEQUENCE to do the same thing. Also, the @ prefix just identifies the variable as local.
Copyright © 2012 ConnectionStrings.com   |   All Rights Reserved   |   Powered by CSAS   |   Send feedback, articles, requests and more connection strings here.