MasteringVFP/12/8/2

出自VFP Wiki

(修訂版本間差異)
跳轉到: 導航, 搜尋
(revert)
第1行: 第1行:
-
[http://www.bjicp.com ICP代办]
+
====連結到 Oracle 的方法====
-
[http://www.bjicp.com ICP]
+
=====使用Microsoft提供的ODBC Driver=====
-
[http://www.bjicp.com ICP办理]
+
<pre>
-
[http://www.bjicp.com ICP证]
+
&& ==ODBC Driver for Oracle - from Microsoft For the current Oracle ODBC Driver from Microsoft ====
-
[http://www.bjicp.com 北京ICP]
+
Local ConnectString AS String
-
[http://www.bjicp.com ICP经营许可证]
+
Public Connected AS Integer
-
[http://www.bjicp.com 申请ICP经营许可证]
+
-
http://www.bjicp.com/images/braintemp_1.jpg{nid GFY}
+
 +
ConnectString = "Driver={Microsoft ODBC for Oracle};Server=OracleServer.world;Uid=myUsername;Pwd=myPassword"
 +
Connected = SQLSTRINGCONNECT(ConnectString)
 +
</pre>
-
[http://www.bjicp.net ICP代办]
+
=====使用Oracle提供的ODBC Driver=====
-
[http://www.bjicp.net ICP]
+
<pre>
-
[http://www.bjicp.net ICP办理]
+
&& === ODBC Driver for Oracle - from Oracle ====
-
[http://www.bjicp.net ICP证]
+
Local ConnectString AS String
-
[http://www.bjicp.net 北京ICP]
+
Public Connected AS Integer
-
[http://www.bjicp.net ICP经营许可证]
+
-
[http://www.bjicp.net 申请ICP经营许可证]
+
-
http://www.bjicp.net/images/logo.jpg {nid GFY}
+
-
[http://www.bjicp.org ICP代办]
+
ConnectString = "Driver={Oracle ODBC Driver};Dbq=myDBName;Uid=myUsername;Pwd=myPassword"
-
[http://www.bjicp.org ICP]
+
Connected = SQLSTRINGCONNECT(ConnectString)
-
[http://www.bjicp.org ICP办理]
+
</pre>
-
[http://www.bjicp.org ICP证]
+
-
[http://www.bjicp.org 北京ICP]
+
-
[http://www.bjicp.org ICP经营许可证]
+
-
[http://www.bjicp.org 申请ICP经营许可证]
+
-
http://www.bjicp.org/image/s2.gif{nid GFY}
+

在2005年4月3日 (日) 08:02所做的修訂版本

連結到 Oracle 的方法

使用Microsoft提供的ODBC Driver
&& ==ODBC Driver for Oracle - from Microsoft For the current Oracle ODBC Driver from Microsoft ====
Local ConnectString AS String 
Public Connected AS Integer

ConnectString = "Driver={Microsoft ODBC for Oracle};Server=OracleServer.world;Uid=myUsername;Pwd=myPassword"
Connected = SQLSTRINGCONNECT(ConnectString)
使用Oracle提供的ODBC Driver
&& === ODBC Driver for Oracle - from Oracle ====
Local ConnectString AS String 
Public Connected AS Integer

ConnectString = "Driver={Oracle ODBC Driver};Dbq=myDBName;Uid=myUsername;Pwd=myPassword"
Connected = SQLSTRINGCONNECT(ConnectString)