Home » RDBMS Server » Networking and Gateways » Not seeing All Columns and Values of SQL Server Table (Oracle 11gR2, dg4ODBC 64 Bit, MsSQL Server 2008 32 Bit)
Not seeing All Columns and Values of SQL Server Table [message #661979] |
Mon, 10 April 2017 23:35  |
ashraf_arkesh
Messages: 9 Registered: October 2006 Location: Dhaka ,Bangladesh
|
Junior Member |
|
|
i am trying to fetch data from SQL Server 2008(32 Bit) on to Oracle 11gR2(RHEL 6.8 64 Bit).
i could connect.
i could see all columns and all column values in the isql.
but when i am querying from Oracle Database Link its returning abnormal columns/values
please help
|
|
|
|
|
|
|
|
|
|
|
Re: Not seeing All Columns and Values of SQL Server Table [message #661995 is a reply to message #661994] |
Tue, 11 April 2017 05:55   |
ashraf_arkesh
Messages: 9 Registered: October 2006 Location: Dhaka ,Bangladesh
|
Junior Member |
|
|
+---------------------------------------+
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
+---------------------------------------+
SQL> select * from type;
+------------+---------------------------------------------------+
| SERIAL_ID | TYPE |
+------------+---------------------------------------------------+
| 1 | CASH |
| 2 | NON CASH |
+------------+---------------------------------------------------+
SQLRowCount returns -1
2 rows fetched
SQL> quit
SQL*Plus: Release 11.2.0.4.0 Production on Tue Apr 11 16:53:03 2017
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select * from type@MsSqlTPLink;
TYPE
--------------------------------------------------
CASH
SQL>
[mod-edit: code tags added by bb; next time please add them yourself]
[Updated on: Tue, 11 April 2017 16:18] by Moderator Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Sat Mar 08 17:43:29 CST 2025
|