欢迎访问:常州市武进区嘉泽中心小学网站 !今天是:
栏目列表
您现在的位置是:首页>>教师>>计算机技术>>网站制作技术>>文章内容
常见连接数据库字符串
发布时间:2008-11-20   点击:   来源:本站原创   录入者:佚名
 

Data Source              OLE DB Connection String 
Microsoft Access
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=physical path to .mdb file 

Microsoft SQL Server 
Provider=SQLOLEDB.1;
        Data Source=path to database on server 

Oracle    
Provider=MSDAORA.1; 
        Data Source=path to database on server 

Microsoft    
Provider=MSIDXS.1;
        Data Source=path to file Indexing Service 

Data Source Driver      ODBC Connection String 
Microsoft Access   
Driver={Microsoft Access Driver (*.mdb)} ;
        DBQ=physical path to .mdb file 

SQL Server   
DRIVER={SQL Server};
        SERVER=path to server 

Oracle     
DRIVER={Microsoft ODBC for Oracle};
        SERVER=path to server 


Microsoft Excel  
Driver={Microsoft Excel Driver (*.xls)};
        DBQ=physical path to .xls file; 
        DriverID=278 

Microsoft Excel 97    Driver={Microsoft Excel Driver (*.xls)};
        DBQ=physical path to .xls file;
        DriverID=790 

Paradox    Driver={Microsoft Paradox Driver (*.db )};
        DBQ=physical path to .db file;
        DriverID=26 

Text      Driver={Microsoft Text Driver (*.txt;*.csv)}; 
        DefaultDir=physical path to .txt file 

Microsoft Visual FoxPro(with a database container)   Driver={Microsoft Visual FoxPro Driver}; 
        SourceType=DBC;
        SourceDb=physical path to .dbc file 

Microsoft Visual FoxPro (without a database container)     Driver={Microsoft Visual FoxPro Driver};
        SourceType=DBF; 
        SourceDb=physical path to .dbf file  


附件:
    关闭窗口
    打印文档
    账号登录
    保持登录 忘记密码?
    账号与武进教师培训平台同步