1

I have connections for both 'oracle' and 'sybase' in my 'Sql Developer'.

For the Oracle-Connections there are options to import data from excel, csv, dsv, etc...
While, for the Sybase-Connections I can't find any import option.

Is there any way to import data from excel file to tables in sybase ?

1
  • What kind of Sybase database are you connecting to? ASE? SQL Anywhere? Please be more specific when asking questions, it will help. Commented Nov 5, 2013 at 14:25

2 Answers 2

2

I have never used SQL developer with Sybase before, I'm not sure it's officially supported. This might also be the reason why the context menu (import from excel) is unavailable. Possible solutions for your problem:

  1. If you use "Sybase SQL Anywhere" check the documentation for "load table" statement, it also supports loading Excel files.
  2. Use Interactive SQL client from Sybase to upload you excel file.
  3. Use the "INPUT" statement inside Interactive SQL.
  4. Export the excel document into a CSV format and load it using the "load table" statement.

I would recommend exporting to a CSV format and then importing into the Database, just be careful with the output from excel to CSV.

Sign up to request clarification or add additional context in comments.

2 Comments

Sql Developer supports to the sybase connections when used with third-party-driver (jtds)
While the connection may be supported, not all the features may be the same. I agree with Bogdan, you may have to extract the data and load it with Sybase tools.
2

Save Excel in CVS format and then bcp in the file:-

bcp dabase_name..Table_name in filename -Uuser_name -Ppswd -SServerName -c -t "," -Y

1 Comment

This is also good way (with native bulk copy tool... If you get problems its possible to verbose error.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.