Reading data from Sybase SQL Anywhere 7 database to write into a SQL Server database

Hi,
I need to import data from a Sybase SQL Anywhere vers. 7 database. This RDBMS was used more 10-12 years ago. I want to write Sybase data into a SQL Server 2008 R2-2012 database. For testing purposes I'm using SQL Server 2005.
After that I've installed Sybase SQL Anywhere vers. 7 I can use the Adaptive Anywhere 7.0 ODBC. I'd like to use SSIS to import Sybase data, but I cannot create an OLE DB connection in a right manner while I can create and ODBC connection manager and so I
can use an Execute SQL task (and not a data flow task, unfortunately!).
Well, after using this Execute SQL task to read fe a table with thousands of data rows how can I write the entire data collection on a SQL Server table?
Thanks

Below link may be helpful,
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/184c937a-2b2c-4e59-b4d7-e8d3d1b476b3/net-provider-for-oledb-sybase-adaptive-server-anywhere-ole-db-provider-90-cant-be-located-when?forum=sqlintegrationservices
http://supun-biz.blogspot.in/2010/11/extracting-data-from-sybase-sql.html
Regards, RSingh

Similar Messages

  • Can 2008 reporting services read data from 2012 sql server

    Will 2008 SSRS be able to retrieve data / speak
    to 2012 SQL Server database?

    I will try and see if it throws error. Check below similar thread.
    https://social.technet.microsoft.com/Forums/en-US/067406f5-bd65-40eb-b333-3449adeefade/connect-to-sql-server-2012-databases-from-ssrs-2008-r2?forum=sqlreportingservices
    Regards,
    Vishal Patel
    Blog: http://vspatel.co.uk
    Site: http://lehrity.com

  • Using forms6i and reading data from MS SQL server 7

    Hi!
    I have been given a new task to connect to Microsoft SQL SERVER 7 with Oracle 6/6i development with ODBC and extract specific data.
    I am realy stuck with this I hope some one will help me with this as soon as possible.
    thanka

    I did a similar thing with developer 2000 (Form 4.5) and SQL server6.5.
    There are lots of things involved and there will be issues that need to be resolved in you application but you can take one thing at a time and you should be able to do it.
    -First make sure that your SQL server is up and running.
    -Then make a client machine that connects to SQL server.
    -On the client install your Form6 or 6i.
    -Install ODBC manager on your Client Machine.
    -Get the Oracle ODBC driver for SQL server.
    -There is a document available with developer 2000 for open data source. It should be with your Form6/6i documentation. It has got a section for connection with SQL server.
    Start with this and where ever you get stuck ask away question on the forum.
    Hope this help

  • Reading Data from a SQL table to a Logical file on R/3 appl. Server

    Hi All,
    We would like to create Master Data using LSMW (direct Input) with source files from R/3 Application Server.
    I have created files in the'/ tmp/' directory however I do not know how to read data from the SQL table and insert it into the logical file on the R/3 application server.
    I am new to ABAP , please let me know the steps to be done to acheive this .
    Regards
    - Ajay

    Hi,
    You can find lot of information about Datasets in SCN just SEARCH once.
    You can check the code snippet for understanding
    DATA:
    BEGIN OF fs,
      carrid TYPE s_carr_id,
      connid TYPE s_conn_id,
    END OF fs.
    DATA:
      itab    LIKE
              TABLE OF fs,
      w_file  TYPE char255 VALUE 'FILE',
      w_file2 TYPE char255 VALUE 'FILE2'.
    SELECT carrid connid FROM spfli INTO TABLE itab.
    OPEN DATASET w_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT. "Opening a file in Application
                                                            " Server to write data
    LOOP AT itab INTO fs.
      TRANSFER fs TO w_file. "" Writing the data into the Application server file
    ENDLOOP.
    CLOSE DATASET w_file.
    OPEN DATASET w_file FOR INPUT IN TEXT MODE ENCODING DEFAULT. "Opening a file in Application
                                                          " server to read data
    FREE itab.
    DO.
      READ DATASET w_file INTO fs.
      IF sy-subrc EQ 0.
        APPEND fs TO itab.
        OPEN DATASET w_file2 FOR APPENDING IN TEXT MODE ENCODING DEFAULT. "Appending more data to the file in the
                                                           " application server
        TRANSFER fs TO w_file2.
        CLOSE DATASET w_file2.
      ELSE.
        EXIT.
      ENDIF.
    ENDDO.
    Regards
    Sarves

  • Migration from sybase sql server 7 to Oracle 8i

    Hi,
    We have a very old Sybase database which contains some 2gb of data which is still being used by the users, we want to phase this out. We want to selectively export some tables and import them into our oracle 8i database. I have looked at documentation related to the migration workbench and it wont work for us because the version of sybase database is very old and I cannot find any client software either to help me to connect to the database.
    I noticed in this forum, several messages suggesting the use of bcp to export data from the sql server and then sql*loader to import the data into oracle.
    Can anybody please send me the information on bcp and how to export data using that and then how to import it in oracle. I am familiar with sql*loader but am not a expert so any help on how to define the control file etc for sql*loader would be helpful.
    Thanks

    Hi Hari,
    You will be able to get the Beta release on this site in the next
    couple of days in the 'Software' section of this page.
    We are just waiting on our web page administrators to make this
    software public.
    The amount of interest in the SQL Server 7.0 plugin is
    substantial, so we are focussing on making it production as soon
    as possible.
    Please provide feedback on the beta to [email protected]
    Regards
    John
    Hari (guest) wrote:
    : Hello great ones,
    : I have a website converted from sql server 7 to Oracle 8i (okay
    : the customer just woke up to the reality that Oracle rules in
    : the e-commerce world..). I read about the workbench and the
    : sqlserver 7 plugin which is still in beta.
    : Is there any ways I could get hold of the beta release?. This
    is
    : a big company and if I could do the job fast, it would result
    in
    : more business to oracle for they will buy the production
    : licenses
    : (as well as Oracle Apps) after I show them I am successful and
    : Oracle 8i is great.
    : Any help would be appreciated and thanks a bunch. I am more
    : concerned about database objects other than stored procedures
    : only.
    : Thanks in advance.
    : Hari
    Oracle Technology Network
    http://technet.oracle.com
    null

  • How to replicate data from MS SQL Server  to Oracle

    Hi,
    Can someone please help me on how to replicate data from MS SQL Server to Oracle 8i database.

    Dear,
    I'm a student.
    I do simple replication on Oracle 8.0.5 successfully. (one master site and one snapshot site). I only use the SQL*Plus and Schema Manager to do.
    But when I do advance replication (multimaster replication) I meet many problem. So I don't get the result.
    Do you show me the technology to do that ?
    Thanks !

  • TRANSFER DATA FROM MS-SQL SERVER TO ORACLE

    hello everybody
    can anyone tell me how 2 transfer or convert data from ms-sql server to oracle
    is there any utility
    if yes let me know .
    thanks in advance

    There are various options depending on how much data we're talking about, where you want the program logic, whether it's a one-time migration, etc.
    Among the options
    - Use SQL Server's DTS
    - BCP the data from SQL Server into flat files and use SQL*Loader to load it
    - Create a database link using Heterogeneous Services and Generic Connectivity to extract data from SQL Server
    - Use the Oracle Migration Workbench, which is now integrated into SQL Developer
    - Use an ETL tool like Oracle Warehouse Builder
    Justin

  • Export data from MS sql server table to an oracle table

    I need to move data from a sql server table to an oracle table and when ever the sql server table is updated it needs to automatically update the oracle table. Is there procedure to do this or do I migrate the data once and set up a trigger on the sql server table to update the oracle table? If the trigger is the answer how do I do that?

    You might want to check out Oracle's heterogeneous services functionality if you haven't done so already. Here are a few links:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/toc.htm
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/majfeat.htm#sthref74
    Also, consulting the Oracle streams manual may be helpful -- particularly Chapter 5.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14228/toc.htm
    Perhaps someone who is more familiar with SQL Server could provide a more helpful answer.

  • How BW get data from MS SQL server DB?

    I got infomation about this from help.com, http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm.
    this web told me, when BW application server must be Win NT.BW can get data from MS SQL server DB.
    but our BW application server was AIX.
    Did you know other solution to this?

    Hi,
    you need to use the DBConnect or in BI7.0 the UDConnect features.
    regards
    Siggi
    See also: http://help.sap.com/saphelp_nw70/helpdata/EN/a1/89786c3df35c4ea930a994e884bb4c/frameset.htm
    or
    http://help.sap.com/saphelp_nw70/helpdata/EN/44/bcdce1dcaf56a3e10000000a1553f6/frameset.htm
    Edited by: Siegfried Szameitat on Aug 13, 2008 9:16 AM

  • Reading data from MS SQL 2005

    This is how you retreive data from database. The file is in
    c:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\qsample\WEB-INF\classes\mypackage\
    package mypackage; import java.sql.*; import java.util.*; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class Izbazepod5 extends HttpServlet{     public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {     String xtext = request.getParameter("xtext1");     response.setContentType("text/html");     ServletOutputStream out = response.getOutputStream();     out.println("<html>");     out.println("<head>");     out.println("<title>slanje i obrada parametara</title>");     out.println("</head>");     out.println("<body>"); ////////////////////////////////////////////////////////////////////////////////////////////     if(xtext == null ){ out.println("<h1>unesi grad - enter a city </h1> following cities are in database London , Portland , Madrid , Nantes "); out.println("<form action='Izbazepod5' method='post'>"); out.println("<input type='text' name='xtext1'/>"); out.println("</textarea>"); out.println("<br/>"); out.println("<input type='submit' value='posalji'>"); out.println("</form>");     }     else {     out.println("<h1>unesi grad - enter a city </h1> following cities are in database London , Portland , Madrid , Nantes "); out.println("<form action='Izbazepod5' method='post'>"); out.println("<input type='text' name='xtext1'/>"); out.println("</textarea>"); out.println("<br/>"); out.println("<input type='submit' value='posalji'>"); out.println("</form>");     /////////////////////     Connection dbConn = null;     String data = "jdbc:odbc:kasql";         try{             Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");             dbConn = DriverManager.getConnection(data,"","");             CallableStatement cstmt = dbConn.prepareCall("{call sve1(?,?,?)}");             //cstmt.setInt(1,Integer.parseInt(xtext));             cstmt.setString(1,xtext);             cstmt.registerOutParameter(2, Types.VARCHAR);             cstmt.registerOutParameter(3, Types.VARCHAR);             ResultSet rec = cstmt.executeQuery();             out.println("<table border='1'>");             out.println("<tr><td><strong>dobavljc - supplier</strong></td> <td><strong>Contact</strong></td></tr>");             while(rec.next()){               out.println("<tr><td>"+rec.getString(1)+"</td> <td>"+rec.getString(2)+"</td></tr>");           }             out.println("</table>");             dbConn.close();                 out.println("</body>");                 out.println("</html>");         }         catch(Exception e){             out.println(e.toString());         }     ////////////////////     }     ///////////////////////////////////////////////////////////////////////////////////////////   }     public void doPost(HttpServletRequest request, HttpServletResponse response)       throws IOException, ServletException {     doGet(request, response);                 }  }
    the config file is at
    c:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\qsample\WEB-INF\
    <?xml version="1.0" encoding="ISO-8859-1"?> <web-app xmlns="http://java.sun.com/xml/ns/j2ee"     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"     version="2.4">     <display-name>Hello, World Application</display-name>     <description> This is a simple web application with a source code organization based on the recommendations of the Application Developer's Guide.     </description>     <servlet>         <servlet-name>DynamicImage</servlet-name>         <servlet-class>mypackage.DynamicImage</servlet-class>     </servlet>     <servlet>         <servlet-name>Izbazepod5</servlet-name>         <servlet-class>mypackage.Izbazepod5</servlet-class>     </servlet>     <servlet-mapping>         <servlet-name>DynamicImage</servlet-name>         <url-pattern>/DynamicImage</url-pattern>     </servlet-mapping>     <servlet-mapping>         <servlet-name>Izbazepod5</servlet-name>         <url-pattern>/Izbazepod5</url-pattern>     </servlet-mapping> </web-app>
    Edited by: JackWalters on Jul 19, 2008 1:48 PM

    Along this horrible piece of code I don't see a question or problem description. Please elaborate about the actual problem.

  • Why some columns are not read into Power Pivot when reading data from a SQL query

    I have this SQL query that I want to use to read data to PowerPivot from:
    SELECT Score.FieldCount as fieldcount, Score.Record.GetAt(0) as predicted_gender, Score.Record.GetAt(1) as probability_of_gender,  Score.Record.GetAt(2)
    as probability_of_m,  
    Score.Record.GetAt(3) as probability_of_f,  Score.Record.GetAt(4) as customerkey
    FROM 
    SELECT * FROM dbo.myCLR1(
    dbo.MyCLR2('c:\fILES\MLSM.xml'), 
    'SELECT * FROM [dbo].[Customer]') Input
    ) Score
    After I click 'Finish' in "Table Import Wizard", I can only get 1 column (FieldCount) in Power Pivot window. Why don't I get the other 4 columns? If I save the result to a table I do get all columns but my goal is to dynamically present the result
    so that's not an option. Can anyone shed some light?
    Thanks,
    Chu
    -- Predict everything. http://www.predixionsoftware.com

    If I only pass in query as 
    SELECT * FROM dbo.myCLR1(
    dbo.MyCLR2('c:\fILES\MLSM.xml'), 
    'SELECT * FROM [dbo].[Customer]') Input
    I do get 2 columns (FieldCount and Record as shown below)
    -- Predict everything. http://www.predixionsoftware.com

  • Shell scripts to read data from a text file and to load it into a table

    Hi All,
    I have a text file consisting of rows and columns as follows,
    GEF001 000093625 MKL002510 000001 000000 000000 000000 000000 000000 000001
    GEF001 000093625 MKL003604 000001 000000 000000 000000 000000 000000 000001
    GEF001 000093625 MKL005675 000001 000000 000000 000000 000000 000000 000001 My requirement is that, i should read the first 3 columns of this file using a shell script and then i have to insert the data into a table consisting of 3 rows in oracle .
    the whole application is deployed in unix and that text file comes from mainframe. am working in the unix side of the application and i cant access the data directly from the mainframe. so am required to write a script which reads the data from text file which is placed in certain location and i have to load it to oracle database.
    so I can't use SQL * loader.
    Please help me something with this...
    Thanks in advance.

    1. Create a dictionary object in Oracle and assign it to the folder where your file resides
    2. Write a little procedure which opens the file in the newly created directory object using ULT_FILE and inside the FOR LOOP and do INSERTs to table you want
    3. Create a shell script and call that procedure
    You can use the post in my Blog for such issues
    [Using Oracle UTL_FILE, UTL_SMTP packages and Linux Shell Scripting and Cron utility together|http://kamranagayev.wordpress.com/2009/02/23/using-oracle-utl_file-utl_smtp-packages-and-linux-shell-scripting-and-cron-utility-together-2/]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • Best way to Import Data from a SQL Server Table?

    Hi,
    Firstly thanks for looking at this question.
    We need to import data into SAP BPC 5.1 on a twice daily basis and have chosen not to export to a .CSV file but instead to hold all data in a SQL table and import it directly from there.  As part of the import we wish to run the default logic, however only over the data which is imported as opposed to having to running default logic over the entire database after every import.
    We did some research on this topic and the only thing we could find that would work as described above is using the "Import SQL" package.  However we keep experiencing problems with it and have not yet been able to run it successfully; the errors it gives are not consistent from run to run which makes it difficult to start a thread, though we are getting help from the helpdesk at the moment.
    My question here though is - is there another way that someone knows of to import data into SAP BPC from a SQL table, and being able to run default logic over just the data being imported, or is our only hope getting the "Import SQL" package working?
    Any help much appreciated.
    Regards,
    Iain
    Forgot to mention details of our environment:
    SAP BPC v5.0.495, 2 server environment -
    Server 1 (DB/AS/SSIS/File server) = 64bit Windows 2k3 server with 64bit SQL Server Enterprise Edition
    Server 2 (IIS/App server) = 32bit Windows 2k3 server
    Edited by: Iain Hambleton on Jun 17, 2008 3:25 PM

    Lain,
    I recently created SSIS packages that need to work with a staging table that does all kind of manipulations of that data before it is loading into SAP BPC, because it also has to load the data in the drillthrough table within the same package. From one point in my package the data is also in a SQL table so basically the same as in your situation. This also works with an export to CSV within the DTSX file like Alwin said, because in this case you can use the standard transformation and conversion stuff during the load.
    I also needed to limit the data region for logic to the data region that is in the load for currency conversion purposes. This is not very much of a problem. I had a situation where I have an Accounts receivable cube containing a daily time dimension for keyduedates and a datasrc dimension containing weeks. Every week has a complete overview of the open AR items in that week and need to be converted for that week (datasrc) only and not for the whole database every time we load. But by default data would be converted based on the Keyduedates dimension while I wanted the Week dimension to be used as the data region. I solved it by using these rows in the logic:
    *Scope_by=version,Weeks
    *xdim_memberset weeks=%weeks_set%
    *xdim_memberset version = %version_set%
    I can send you the SSIS package and logic if you want. Just send me your details then.
    -Joost
    Edited by: Joost Hoppenbrouwers on Jun 17, 2008 4:25 PM

  • Extracting data from a SQL Server to BW

    Hi Experts,
        Can somebody let me know how to extract data from a NON SAP
        SQL Server I mean
        1. Creating a Source System
        2. Connecting to the SQL server
        3. Creating datasources and extraction
        Kindly help me its urgent
        thank you
        arshad.

    Hi Ingo,
    What I suggest is instead of extracting it to a file, can you use the function module which replicates this data to the mobile clients and use this function module to call the select statement. If a mobile client is able to access this info, then it must be doing a RFC call to some system whose logical system would have been in SAP as well. This is an assumption.
    May be if you could call the same function to derive the required data instead of extracting it to a file and then uploading it.
    Regards,
    Srikanth

  • Importing the data from MS SQL Server 7.0 SP3 to ORACLE 8i - 8.1.7

    How can I import a database from SQL Server to ORACLE Databas
    server ?
    It would be great if you could help me with that ...
    Thanks,
    Murad

    Hi,
    This error is fixed in the production verison of the SQL Server 7.0 plugin. This will be released in the next few weeks with the Oracle 8i relase 2 for Windows NT.
    Regards
    John

Maybe you are looking for

  • Camera connector & Samsung TL220 ... not a good match

    So, I got my camera connection kit and only one half of it is useful. I have a Samsung TL220 and when I plug it into the camera connector the iPad says "Accessory unavailable. The attached accessory uses too much power." What?! Then I get "The attach

  • Formatted output in output_file

    Hello, String name = "Drabick"; int age = 22; System.out.print("%s%20d",name,age);Above can be used to write output in nice way, but I want to write output in separate file. BufferedWriter out2 = null;            try {                   out2 = new Bu

  • Sharing files via Airport

    Hello, I would like to share files (those in my public folder) exclusively with my girlfriend. Each of us has a macbook and use the same Airport connection . Could someone kindly point me to the relevant page for this? Thanks. PS: I tried with Sys pr

  • Creative Cloud trials

    I installed a full version of Creative Cloud and licensed the software, but most of my apps are still trials. I have a PC. How do I solve this?

  • Software update in egypt

    why symbian anna is not able to be updated in egypt? , while egypt is listed from the countries that the software is avilable for it ... please help !!!