السلام عليكم اخواني....
سؤالي هو كيف اشبك developer على sqlserver؟؟؟
الرجاء ممن يعرف تزويدي بالمعلومات الكافية.... وبارك الله فيكم أجمعين
السلام عليكم اخواني....
سؤالي هو كيف اشبك developer على sqlserver؟؟؟
الرجاء ممن يعرف تزويدي بالمعلومات الكافية.... وبارك الله فيكم أجمعين
أخي الكريم الموضوع صعب جداً لأنه على حسب علمي انه الأوراكل ديفيلوبر لاتتصل إلا على قواعد بيانات أوراكل حسب ما هو معرف لديها بملف الـ Tnsnames.ora .
وهو يشبة التالي :
igbdb = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = igblabtop)(PORT = 1521)) (CONNECT_DATA = (SID=IGBDB)) ) )
حيث أن igbdb هو إسم الخدمة لدى العميل .
و igblabtop هو إسم الجهاز الذي يحتوي على قاعدة البيانات .
و 1521 هو رقم المنفذ المستخدم للإتصال بقاعدة البيانات بذلك الجهاز على مستوى امان الشبكة .
و IGBDB الأخيرة هي إسم قاعدة البيانات بالجهاز الذي يحتوي على قاعدة البيانات .
ولكني لم أجد إلى يومنا هذا NetConfiguration خاص بالربط مع قاعدة بيانات MS/SQL-Server .
Oracle 10g >>> ماذا تعرف عنه ؟ ؟؟
عمل Compile لجميع الكائنات الـ inviled لديك بقاعدة البيانات
OCP: Oracle Certified Professional 10gR2 Database Administration
يمكنك الإتصال مع قواعد البيانات Sql Server و لكنك ستخسر جميع المميزات التي يقدمها لك Developer فعندها ستضطر لكتابة on-select و On-delete و on-insert .... إلخ ...
حسام فيصل كتب:يمكنك الإتصال مع قواعد البيانات Sql Server و لكنك ستخسر جميع المميزات التي يقدمها لك Developer فعندها ستضطر لكتابة on-select و On-delete و on-insert .... إلخ ...
كيف يتم ذلك أخي حسام أتحفنا بهذه المعلومات القيمة رجاءاً .
نحن بالإنتظار .
:P
:s
Oracle 10g >>> ماذا تعرف عنه ؟ ؟؟
عمل Compile لجميع الكائنات الـ inviled لديك بقاعدة البيانات
OCP: Oracle Certified Professional 10gR2 Database Administration
لا داعي للإتحاف فما عليك سوى قراءة كتاب Oracle Forms 10g لتجد فصلاً حول إمكانية إتصال الفورمز بقواعد بيانات أخرى بإستخدام Gate Way :
اقتباسRunning Against Data SourcesOther than Oracle
• Two ways to run against data sources other than
Oracle:
– Oracle Transparent Gateways
– Write appropriate transactional triggers
Running Against Data Sources Other than Oracle
Two ways to run Against Data Sources Other than Oracle
• Use Oracle Transparent Gateway products.
• Write the appropriate set of Transactional triggers.
Connecting with Open Gateway
When you connect to a data source other than Oracle with an Open Gateway product, you
should be aware of these transactional properties:
• Cursor mode form module property
• Savepoint mode form module property
• Key mode block property
• Locking mode block property
You can set these properties to specify how Forms should interact with your data source.
The specific settings depend on the capabilities of the data source.
Using Transactional Triggers
If no Open Gateway drivers exist for your data source, you must define transactional
triggers. From these triggers, you must call 3GL programs that implement the access to
the data source.
مثال :
جلب بيانات من قاعدة بيانات Access (Forms 6I ) :
Solution Description
====================
1. Attach the oca.pll, located in the %ORACLE_HOME%/oca60/plsqllib directory,
to the desired fmb.
For this directory to appear the Oracle Open Client Adapter Component
needs to be installed from the base Developer 6i R2 cd.
2. Write a program unit similar to the following:
FUNCTION get_access RETURN pls_integer IS
connection pls_integer;
cursor1 pls_integer;
stmt varchar2(1000);
n pls_integer;
BEGIN
stmt := 'select count(*) from emp';
connection := oca.dbconnect('scott/tiger@odbc:msa');
message(to_char(connection));
cursor1 := oca.execute(connection,stmt);
loop
begin
oca.fetch_row(connection,cursor1);
oca.coldata(connection,cursor1,1,n);
message(to_char(n)||' record(s)');
exception
when no_data_found then
message('NO MORE ROWS');
exit;
end;
end loop;
oca.close(connection,cursor1);
oca.disconnect(connection);
return n;
exception
when oca.connection_error then
message('OCA-Connection error');
when oca.cursor_error then
message('OCA-Cursor error');
when others then
message('Other Error');
end;
References:
-----------
%ORACLE_HOME%\tools\doc60\us\oca_info.pdfلا داعي للإتحاف فما عليك سوى قراءة كتاب Oracle Forms 10g لتجد فصلاً حول إمكانية إتصال الفورمز بقواعد بيانات أخرى بإستخدام Gate Way :
اقتباسRunning Against Data Sources
Other than Oracle
• Two ways to run against data sources other than
Oracle:
– Oracle Transparent Gateways
– Write appropriate transactional triggers
Running Against Data Sources Other than Oracle
Two ways to run Against Data Sources Other than Oracle
• Use Oracle Transparent Gateway products.
• Write the appropriate set of Transactional triggers.
Connecting with Open Gateway
When you connect to a data source other than Oracle with an Open Gateway product, you
should be aware of these transactional properties:
• Cursor mode form module property
• Savepoint mode form module property
• Key mode block property
• Locking mode block property
You can set these properties to specify how Forms should interact with your data source.
The specific settings depend on the capabilities of the data source.
Using Transactional Triggers
If no Open Gateway drivers exist for your data source, you must define transactional
triggers. From these triggers, you must call 3GL programs that implement the access to
the data source.
مثال :
جلب بيانات من قاعدة بيانات Access (Forms 6I ) :
Solution Description
====================
1. Attach the oca.pll, located in the %ORACLE_HOME%/oca60/plsqllib directory,
to the desired fmb.
For this directory to appear the Oracle Open Client Adapter Component
needs to be installed from the base Developer 6i R2 cd.
2. Write a program unit similar to the following:
FUNCTION get_access RETURN pls_integer IS
connection pls_integer;
cursor1 pls_integer;
stmt varchar2(1000);
n pls_integer;
BEGIN
stmt := 'select count(*) from emp';
connection := oca.dbconnect('scott/tiger@odbc:msa');
message(to_char(connection));
cursor1 := oca.execute(connection,stmt);
loop
begin
oca.fetch_row(connection,cursor1);
oca.coldata(connection,cursor1,1,n);
message(to_char(n)||' record(s)');
exception
when no_data_found then
message('NO MORE ROWS');
exit;
end;
end loop;
oca.close(connection,cursor1);
oca.disconnect(connection);
return n;
exception
when oca.connection_error then
message('OCA-Connection error');
when oca.cursor_error then
message('OCA-Cursor error');
when others then
message('Other Error');
end;
References:
-----------
%ORACLE_HOME%\tools\doc60\us\oca_info.pdfلمعلومات أكثر حول GateWays أنظر الرابط :
http://www.oracle.com/technology/products/...ways/index.html
تم تعديل هذه المشاركة بواسطة حسام فيصل في 11 أبريل 2007 في 17:39
مشكورين جداً ..
زادكم الله علماً .
تم تعديل هذه المشاركة بواسطة إبراهيم بخش في 12 أبريل 2007 في 16:22
Oracle 10g >>> ماذا تعرف عنه ؟ ؟؟
عمل Compile لجميع الكائنات الـ inviled لديك بقاعدة البيانات
OCP: Oracle Certified Professional 10gR2 Database Administration
هذا الموضوع مغلق.