我想知道connectionString是怎样设置的,其中Uid和Pwd与Open中的第二和第三个参数的设置值相同吗,请指教,谢谢了

解决方案 »

  1.   

    第一个为连接字符串,如:select * from tab
    uid和pwd为数据库的登陆名和密码,如scott,tiger
      

  2.   

    在PB 环境中打开DATABASE PROFILE 下有
    ORCALE 库
    // Profile lfsc
    SQLCA.DBMS = "O73 ORACLE 7.3"
    SQLCA.LogPass = "****"
    SQLCA.ServerName = "@lfsc"
    SQLCA.LogId = "lfsc"
    SQLCA.AutoCommit = False
    SQLCA.DBParm = "PBCatalogOwner='lfsc'"
    PB例子库
    SQLCA.DBMS = "ODBC"
    SQLCA.Database = "Powersoft Demo DB V6"
    SQLCA.AutoCommit = False
    SQLCA.DBParm = "ConnectString='DSN=Powersoft Demo DB V6;UID=dba;PWD=sql'"
      

  3.   

    我想是我的表达有误,我的程序要查询数据库,想用_Command的Excecute来执行查询动作,但本人对它的参数设置存在很多疑问,以至最初的Connection.open都通不过,各位高手能否帮帮我,我都快被ADO折磨死了,Please help me,thank yyou very very very much!!
      

  4.   

    Provider=MSDAORA.1;Password=pass;User ID=user;Data Source=mis;Persist Security Info=True