Tg4msql - Blob Data Type Support(Oracle 8i - sql server 2000)

hi,
We are trying to replicate the data from oracle 8i to sql server 2000 through tg4msql.if we want to replicate the data thet contains the blob field , we are getting invalid expression in the procedure marked with error line.
the procedure i am using is as follows
CREATE OR REPLACE PROCEDURE INSERT_SQL
AS
BEGIN
FOR VAL_CURSOR IN
--Get the Data from the table with status 0
SELECT rs_report_rowid FROM BIJU.rs_report where rs_report_status = 0
LOOP
for new_cursor in
--get the details of the record with the row id
select id ,name,DOB from biju.sample where rowid = val_cursor.rs_report_rowid
LOOP
---insert the data from oracle to sql where the oracle data type contains blob(here photo field data type is blob).
Error Line: insert into [email protected](id,name,photo) values(new_cursor.id,new_cursor.NAME,new_cursor.DOB);
END LOOP;
END LOOP;
COMMIT;
END;
i want to know that tg4msql won't support the blob data type on the oracle end?we configured blob eqivalent in sql server as binary.Any help or suggestion regarding this are welcome..
regards
Srini

Srini,
Support for LOB was added in v9.2. It is not supported in 8i.

Similar Messages

  • Pdf file stored as BLOB data type on Oracle

    I store PDF file as BLOB data type on Oracle. There are cases
    where I get multiple records from the database, that means I get
    multiple PDF files. They have to be merged and displayed on the web
    page. I tried CFContent which can display only one PDF file at a
    time but not more than one, whereas cfdocument is having problem
    converting binary data to string. I am kind of stuck.
    Can you anybody please help me out? Please let me know if you
    have any questions or this does not make sense to you.
    Thank you in advance.

    BALAJI_JAY wrote:
    > Can you anybody please help me out? Please let me know
    if you have any
    > questions or this does not make sense to you.
    if by "merge" you mean 3 pdf into 1 pdf, try cfpdf (if on
    cf8) or see this
    thread if cf version less than 8:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=7&threadid=11 14635&messageid=4032202

  • Data sync between oracle and sql server

    Greetings Everyone,
    Your expert views are highly appreciable regarding the following.
    We at work are evaluation different solutions to achieve data synchronization between oracle and sql server data bases. Data sync i mentioned here is for live applications. We are runnign oracle EBS 11i with custom applications and intending to implement a custom software based on .NET and SQL Server. Now the whole research is to see updates and data changes whenever happens between these systems.
    I googled and found Oracle Golden Gate, Microsoft SSIS, Wisdom Force from Informatica....
    If you can pour in more knowledge then it's great.
    Thank You.

    Most of the work involved has to be done through scripts and there is no effective GUI to implement OGG.However using commands is not vey togh and they are very intutive.
    These are the steps, from a high level:
    1.Get the appropriate GG Software for your source and target OS.
    2.Install GG on source and target systems.
    3.Create Manager and extract processes on source system
    4.Create Manager and replicat processes on target system
    5.Start these processes.
    First try to achieve uni-directional replication. Then Bi-directional is easy.I have implemented bi-directional active active replication using Oracle DBs as source and target. Refer to Oracle installation and admin guides for more details.
    Here is a good article that may be handy in your case.
    http://www.oracle.com/technetwork/articles/datawarehouse/oracle-sqlserver-goldengate-460262.html
    Edited by: satrap on Nov 30, 2012 8:33 AM

  • Tell me how to format a date retrieved from a MS SQL Server 2000 database?

    Tell me how to format a date retrieved from an MS SQL Server 2000 database for various uses in my JSP page?

    Or if you want to use JSTL instead of a scriptlet see:
    http://forum.java.sun.com/thread.jspa?threadID=676754&tstart=0

  • Creation of database link from oracle to sql server 2000

    Hi
    I need to create a database link from oracle to sql server 2000.

    Assuming your Oracle database is running on Windows, you can set up a database link using ODBC using Heterogeneous Services and Generic Connectivity, but there are some functional limitations (i.e. no two-phase commits). If you can live with those limitations but aren't on Windows, you can generally purchase an ODBC driver for your operating system that will connect to SQL Server through someone like DataDirect and still use Generic Connectivity. If you cannot live with those limitations, you can purchase one of Oracle's Transparent Gateway products (though this can get somewhat pricey).
    What version of Oracle are you on?
    What operating system(s) are you using?
    What are you going to use the database link for?
    Justin

  • Data types not compatible with Sql Server 2012

    HI All,
    I need to know what are data types which were present in sql server 2005 but are not in sql server 2012.
    Regards
    Rahul

    Hi vaibhav
    Thanks for help. Actually my requirement is that I have one database on sql server 2005 version. I am planning to migrate it to sql server 2012 version. I want to publish a list of all objects across all databases which cannot be replicated to sql server
    2012.How can I do this. Are there any data types which were in sql 2005 version but are depreciated in sql server 2012
    Regards
    Rahul
    yes there are
    but why not look at here for breaking changes
    http://msdn.microsoft.com/en-us/library/ms143179(v=sql.110).aspx
    The deprecated features would still work though new development using them is discouraged
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Can not read Chinese data when DB Connect to SQL server 2000

    Hi,
       Our BW server( BW3.5 not unicode ) is installed on MS SQL server 2000. We try to connect the BW SQL server with db connect function. We create some test views in the Northwind DB. We are be able to access data from source system in rsa1 by db connect. The problem is that all the Chinese characters are displayed as ?????. Is there any special setting for accessing multibyte characters in MS SQL server 2000? Please advise.
    Thank you,
    Jeff

    The field of VIEW in the sqlserver which code is chinese must be the nvarchar.
    You can try it.

  • How can I get a date without the hour from sql server 2000 ?

    hellou!
    I have a JTable, and one of it's columns has to show a date. This date i have to show is specified as datetime on the Sql Server 2000 database where I have to take the data.
    the query of the dataset attached to the JTable is something like "select * from Table".
    The problem is that the JTable column that displays the date shows the date and the hour, for example:
    7/10/04 0:00:00
    and I need to show the date without the hour, only the 7/10/04. Can anyone tell me how to do that?
    thank you very much! : )

    The easiest way to format a date is with java.text.SimpleDateFormat. When creating it you pass a format string which can be used to parse or format date objects.
    SimpleDateFormat formater = new SimpleDateFormat( "MM/dd/yyyy" );
    // Get date objects directly from sql
    Date foundDate = result.getDate( 1 );  //where result is the ResultSet and 1 is the date column
    String formatedDate = formater.format( foundDate );Now the JTable's table model can be adjusted to store a formated String instead of a Date. If for some reason it is required to store the value as a Date overload the table model to return the formated string when getValueAt is called.

  • ODI's CDC Support for MS SQL Server 2000

    Hi,
    Does ODI provides CDC with log for MS SQL Server 2000? I read somewhere that we need to get a separately priced adapter for this because ODI supports only trigger based CDC for MS SQL Server 2000 and 2005.
    Could anyone please shed some light on this?
    Thank you.

    Hi,
    Are you able to find out any info on this?
    Appreciate your help on any leads..
    Regards
    Naveen

  • Problem using type 4 driver for SQL Server 2000

    Hi..
    I'm getting the following error message when i attempt to connect to SQL Server 2000:
    "Cannot open user default database. Using master database instead"
    I am passing the proper connection url and the user name and the password.However,my application does not connect to the SQL Server.I have tried using JTurbo and Weblogic drivers.
    All tables in this database have been imported using DTS and hence have "dbo" as their owner.I do not have administrator privileges on the db server.
    Is there a workaround to this problem by changing some settings for ownership of the db objects?
    I have already tried using :
    EXEC sp_changedbowner <username>
    for databases where I am not a user and it still doesn't work for these as well.
    Thanks,
    Jay.

    It might be in your DSN. Give that a check, it could be that the DSN has a default db selected and also a userID/Pwd that's incorrect for that db. Just thinking out loud.
    B

  • Data loading from Oracle to SQL Server

    Hi,
    I am trying to Push the data from Oracle which is running in HP-UNIX to SQL Server. But don’t know the efficient way to connect the SQL server from oracle which is running on HP-UNIX.
    I have heard about oracle Heterogeneous Connectivity but don’t know exactly how to implement it in Unix environment. If you have some guide of step by step process it will be really helpful.
    Thanks in advance.
    Regards,
    Sajal

    Hello,
    please start reading here about the Oracle Database Gateways products:
    http://www.oracle.com/technetwork/database/gateways/index-100140.html
    HowTo articles are available on My Oracle Support:
    How to Setup DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX) (Doc ID 561033.1)
    How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) 64bit Unix OS (Linux, Solaris, AIX,HP-UX) (Doc ID 562509.1)
    Please read also this note:
    Functional Differences Between DG4ODBC and Specific Database Gateways (Doc ID 252364.1)
    The license for DG4ODBC is included in your RDBMS license, but you need to purchase a Third-Party ODBC driver for MS SQL Server.
    The license for DG4MSQL is not included in your RDBMS license.
    There is also a forum for the gateways:
    Heterogeneous Connectivity
    Regards
    Wolfgang

  • Getting data out of Oracle to SQL Server 2005

    Hello,
    I am new in Oracle and I have this question.
    I need to transfer lots of data frequently at day from a large Oracle DB to a SQL Server 2005 Database.
    Could you tell me what tools (including PL/SQL) ORACLE offers to reach this goal?
    *.Dat files are still a way to perform this job or other method more performance (quickly and efficiently) are available?
    Using MS SSIS is better ?
    Thank for your help

    I've done getting data out of Oracle to MS Access DB using heterogenous servicing.I hope that that would be the best way for your case too..
    Check this out.
    http://www.datadirect.com/developer/odbc/oracle_heterogeneous/index.ssp
    Regards,
    Bhagat

  • Data MIgration from Oracle to SQL Server 2005

    HI Gurus,
    Kindly please advice me how to migrate Data from oracle to MS SQL Server or Vice Versa.
    I came to know about 2 methods:
    1) Using SQL Developer
    2) USing ODBC.
    KIndly let me know which method is better. I am in confusion about both option
    Kindly advice over the same
    Thanks

    Usually such questions asked and answered on forums of a target system. In this case on MS SQL forums.
    But I will answer.
    You should create a LINKED SERVER in MS SQL that connects to Oracle.
    Then issue couple of SELECT * INTO <TARGET_TABLE> FROM <ORACLE LINKED SERVER>..<SRC SCHEMA>.<SRC TABLE>.
    Install Oracle Client and OLE DB driver on SQL Server machine.
    Also, Oracle is case sensitive by default. MS SQL is case insensitive by default. If there are primary/unique keys that have mixed case values in Oracle, then in MS SQL you need to set case sensitive collation for them.
    PS. If you need not only migrate data one time, but also to have a real time replication during an application transition period, you can take a look on heterogeneous replication solutions like Golden Gates or DataCurrents.

  • Extracting data of data type 'real' from the sql server database

    Hi,
    In my job, my source is a sql server database.
    I am connecting to the source sql server database using ODBC (sqlserver driver) in the datastore.
    In one of my source tables i have a field of data type real.If one of the value is 3.45678 , data services brings it in as 3.456780, which is OK, but if the real value is 4.7 in source, data services brings it  as 4.699997. I want it to be brought in as 4.700000 and not as 4.699997(i.e it is expanding upto 6 digits after the decimal point).
    Is this a default behavior of how data services reads the 'real' data types or is it because of how the ODBC sql server driver reads the data ?
    Is the above problem connected to an option in the DS.config file called
    LAZY_DECIMAL_CONVERSION which is set as true in our file.Should i set as false and will it solve this problem?
    Thanks in Advance.

    I tried reproducing your case, I read a value with real datatype from sql server DB. For me the values are coming fine, 4.7 is read as 4.700000 or 4.528 as 4.528000. I have also checked the value of LAZY_DECIMAL_CONVERSION, it is true. So I dont think it is a problem with that being set to true. Try something out with the Column properties in Query transform.
    I am using DS 3.2/ SQLSERVER 2008.
    Edited by: Lakhan Lalla on Oct 31, 2011 12:04 PM

  • How to save and retrieve an image in JSP/Java and MS SQL/server 2000?

    Hi All,
    I am uploading an image from the JSP page and want to store it in MS SQL server. I have made a column by the name "COMPANY_LOGO" with data type as image MS SQL/server 2000. How do I save the full image in the table and how do I display the thumb nail image on the JSP page???
    Regards,
    Raj

    BEFORE YOU POST A TOPIC HERE: Please be sure your topic is related to features or functionality of this site. This forum is not for general technology questions. Not sure which forum to use? Try searching for your topic in the "Search Forums" element on the left panel.
    Post your question in
    http://forum.java.sun.com/forum.jspa?forumID=45
    or
    http://forum.java.sun.com/forum.jspa?forumID=48
    Do not reply here

Maybe you are looking for

  • COA to be send to customer while saving delivery.

    Dear Friends, I have a requirement of sending the certificate of analysis (finished product)  to customer while saving delivery document. COA is the developed form (Z development) designed and that output we need to send to customer through email as

  • Sidebars on macbook pro when on TV with thunderbolt

    I have a Thunderbolt to HDMI cable going to my high def TV. I get bars on the sides of the TV and I change the resolution to 1080p and other resolutions and can't seem to get a good fit. Also the audio is not working unless I run surround sound direc

  • Image Pan _ Rubber band effect

    I am trying to make the black square do the rubber band effect while the image pans left to right with mouse movement Each code works seperatly but when i put them together they do not work here is layer 1 the code for the image pan this.onMouseMove

  • [ SOLVED ] Pacman stopped working after last pacman -S pacman

    Hi. Today I tried to install a new package, and pacman prompted that there is new version of it, and I have to install it first. I accepted and installed the new version of pacman. They I updated the package list. After a while I had to reboot the ma

  • Cannot cancel message

    I cannot cancel a message because it says the message editor has it locked. How can I clear the lock so I can process the message further in the MDT? Thanks, Chris