473,583 Members | 3,010 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem in Accessing SQL Server Views from Oracle Using TG4MSQL(Transpa rent gateway Connectivity)

Dear All,
I am using the oracle transparent gateway connectivity with sql server
using tg4msql,as far as

settings are concerned those were set and Connectivity is working Fine,
and getting the response

from that server.
here is description what I done as:-There is a View on Sqlserver which
is Join of 6 tables and have

data around 1 million in 2 tables and 0.5 million in rest of the
tables, as the Query for creating

sqlserver view is given below:

CREATE view Account_anila_t est as
SELECT ......(around 50 Columns)
FROM GE_Init.dbo.Per son INNER JOIN
GE_Init.dbo.Kon to ON GE_Init.dbo.Per son.Person_ID =

GE_Init.dbo.Kon to.Person_ID INNER JOIN
GE_Init.dbo.Pro dukt ON GE_Init.dbo.Kon to.Produkt_ID =

GE_Init.dbo.Pro dukt.Produkt_ID LEFT OUTER JOIN
GE_Init.dbo.CRM Konto ON GE_Init.dbo.Kon to.Konto_ID =

GE_Init.dbo.CRM Konto.Konto_ID LEFT OUTER JOIN
GE_Init.dbo.cal cKontoOBSdt ON GE_Init.dbo.Kon to.Konto_ID =

GE_Init.dbo.cal cKontoOBSdt.Kon to_ID LEFT OUTER JOIN

GE_Init.dbo.cal cKonto ON GE_Init.dbo.Kon to.Konto_ID =

GE_Init.dbo.cal cKonto.Konto_ID
WHERE (GE_Init.dbo.Ko nto.SlettetKont o = 0) AND
(GE_Init.dbo.CR MKonto.MarkertF orSletting = 0
OR GE_Init.dbo.CRM Konto.MarkertFo rSletting IS NULL)

Now,I made a table in oracle adjacent to sqlserver View and Inserted
data as:

INSERT INTO ACCOUNT_TEST11( .....)
SELECT .............
FROM Person@dbl_getg c1 a INNER JOIN
Konto@dbl_getgc 1 b ON a."Person_ID" = b."Person_ID" INNER JOIN
Produkt@dbl_get gc1 c ON b."Produkt_ID " = c."Produkt_ID " LEFT OUTER JOIN

CRMKonto@dbl_ge tgc1 d ON b."Konto_ID" = d."Konto_ID" LEFT OUTER JOIN
calcKontoOBSdt@ dbl_getgc1 e ON b."Konto_ID" = e."Konto_ID" LEFT OUTER
JOIN

calcKonto@dbl_g etgc1 f ON b."Konto_ID" = f."Konto_ID"
WHERE (b."SlettetKont o" = 0) AND (d."MarkertForS letting" = 0 OR
d."MarkertForSl etting" IS NULL);

This insert Satement worked fine,but when I inserted from the view
already created in SQLSERVER as

:-

INSERT INTO ACCOUNT_TEST11( .....)
SELECT .............
FROM Account_anila_t est@dbl_getgc1;

This gave a following error:-

"WEB_30_SUM ", "WEB_360_COUNT" , "WEB_360_SU M", "WEB_90_COU NT",
"WEB_90_SUM "
*
ERROR at line 48:
ORA-28500: connection from ORACLE to a non-Oracle system returned this
message:
[Transparent gateway for MSSQL]
ORA-02063: preceding 2 lines from DBL_GETGC1
Elapsed: 00:01:01.04

after this I set The paramater "HS_FDS_TRACE_L EVEL=ON" in INIt file of
tg4msql Folder then in the

trace File of tg4msql folder following error comes:-

(0)
(0) [Microsoft][ODBC SQL Server Driver]Timeout expired (SQL State:
S1T00; SQL
(0) Code: 0)
(0)

If any one has Faced the similar kind of problem and Can help me,Please
let me Know where I am

doing Wrong and How this error can be ractified.

Waiting For Reply ASAP.

Regards
Lovkesh

Dec 13 '05 #1
1 6253
(lo**********@g mail.com) writes:
Now,I made a table in oracle adjacent to sqlserver View and Inserted
data as:
...

This insert Satement worked fine,but when I inserted from the view
already created in SQLSERVER as
Do I understand it correctly that the query for the first INSERT
was a simplified version of the view? The real view appears to use
more tables.
trace File of tg4msql folder following error comes:-

(0)
(0) [Microsoft][ODBC SQL Server Driver]Timeout expired (SQL State:
S1T00; SQL
(0) Code: 0)
(0)


The ODBC SQL Server Driver has a default timeout of 30 seconds, as have
several other client APIs. (Don't ask me why; I think it's stupid.) I
have no idea whether you can control it from Oracle.

If you run a SELECT * from the view, on SQL Server how long time does
it take? You may have to look into tuning the query.
--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Dec 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4120
by: New Devil | last post by:
can anyone send a code for the oracle connectivity wid C#.. would be really tahnkful .. Desert Desperado 8) Posted Via Usenet.com Premium Usenet Newsgroup Services ---------------------------------------------------------- ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY ** ----------------------------------------------------------...
1
1874
by: Chris Tremblay | last post by:
I am trying to create an image using GDI+ in VB.NET. I want to have the background be transparent, but when I do run the following: myGraphicsObject.clear(color.transparent) the resulting background color is black, not transparent. I am saving the image to the output stream as an "image/gif". Is there anything I should know about this,...
2
1584
by: Will | last post by:
We have several large Oracle databases that we are writing new front ends for in .Net. The applications will be Windows clients. We are looking for the best method for connecting with the Oracle database. The Microsoft data provider requires the Oracle client to be installed, a huge footprint at 250 meg. ODAC (from Oracle) is another 250...
1
3654
by: kiran261 | last post by:
visual basic and oracle connectivity i want to know how can i access records from oracle in visual basic what is the diffrence between connect & connection
1
1702
by: swatishende | last post by:
How is the connectivity of VB with Oracle 8i can be done on windows 98 platform?.
2
2366
by: David Costello | last post by:
Hi all, I keep getting a bizarre login error, when trying to connect to a SQL Server 2005 database on a local domain to my machine using C#. The Exception returns: SQLException: Login failed for user 'OURDOMAIN\PC-DAVIDC$'. Where "OURDOMAIN" is the domain my computer is connected to, and "PC-DAVIDC" is the computer name. What's weird about...
1
1248
by: bdpandit | last post by:
Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. Provider is unable to function until these components are installed.
0
1708
by: karpalmera | last post by:
We are currently migrating from OS/390 to Z/OS and our DB2 from DB2 4 to DB2 UDB8. However, our Oracle Database and Oracle gateway will remain the same..Oracle database is 7.2.3 and Oracle gateway is 7.3 We have a hard time starting our Oracle gateway in Z/OS. Has anyone experienced this kind of migration? Is it possible for Oracle 7 to run in...
0
1656
by: balagh | last post by:
To access the table in oracle from MySQL. is there any connectivity code r steps to be followed
0
7895
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7826
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8182
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8327
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7935
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5701
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5374
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3843
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.