<small id='h7sXo'></small><noframes id='h7sXo'>

    <tfoot id='h7sXo'></tfoot>

      <bdo id='h7sXo'></bdo><ul id='h7sXo'></ul>

        <i id='h7sXo'><tr id='h7sXo'><dt id='h7sXo'><q id='h7sXo'><span id='h7sXo'><b id='h7sXo'><form id='h7sXo'><ins id='h7sXo'></ins><ul id='h7sXo'></ul><sub id='h7sXo'></sub></form><legend id='h7sXo'></legend><bdo id='h7sXo'><pre id='h7sXo'><center id='h7sXo'></center></pre></bdo></b><th id='h7sXo'></th></span></q></dt></tr></i><div id='h7sXo'><tfoot id='h7sXo'></tfoot><dl id='h7sXo'><fieldset id='h7sXo'></fieldset></dl></div>
      1. <legend id='h7sXo'><style id='h7sXo'><dir id='h7sXo'><q id='h7sXo'></q></dir></style></legend>
      2. 库列表的 IBM .NET 数据提供程序连接字符串问题

        IBM .NET Data Provider Connection String issue with Library List(库列表的 IBM .NET 数据提供程序连接字符串问题)
        1. <tfoot id='Pa2yB'></tfoot>
        2. <i id='Pa2yB'><tr id='Pa2yB'><dt id='Pa2yB'><q id='Pa2yB'><span id='Pa2yB'><b id='Pa2yB'><form id='Pa2yB'><ins id='Pa2yB'></ins><ul id='Pa2yB'></ul><sub id='Pa2yB'></sub></form><legend id='Pa2yB'></legend><bdo id='Pa2yB'><pre id='Pa2yB'><center id='Pa2yB'></center></pre></bdo></b><th id='Pa2yB'></th></span></q></dt></tr></i><div id='Pa2yB'><tfoot id='Pa2yB'></tfoot><dl id='Pa2yB'><fieldset id='Pa2yB'></fieldset></dl></div>
          <legend id='Pa2yB'><style id='Pa2yB'><dir id='Pa2yB'><q id='Pa2yB'></q></dir></style></legend>
            <tbody id='Pa2yB'></tbody>

                <bdo id='Pa2yB'></bdo><ul id='Pa2yB'></ul>

                <small id='Pa2yB'></small><noframes id='Pa2yB'>

                  本文介绍了库列表的 IBM .NET 数据提供程序连接字符串问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在尝试在 C# 程序中使用 DB2 .Net 数据提供程序,而不是依赖 ODBC.下面的连接字符串有效,但仅适用于一个库(比如我的库是 test1 和 test2).

                  I am trying to use the DB2 .Net Data Provider in a C# program rather than relying on ODBC. The connection string below works, but only for one library (say my libraries are test1 and test2).

                  Data Source=xxx.xxx.xxx.xxx;User Id=testuser;Password=testpassword;
                  Naming=SQL;Default Collection=test1;
                  

                  如果我添加库列表=test1,test2;"(我已经尝试了几种变体)连接字符串,它不允许我访问其他库,只能访问 defaultcollection 中定义的库.我也尝试过不指定默认集合,但这会导致查询根本不起作用.我需要做什么才能运行可以在同一连接上访问这两个库的查询?

                  If I add "Library List=test1, test2;" (I have tried several variations of that) to the connection string, it does not allow me access additional libraries, only what is defined in defaultcollection. I have also tried not specifying default collection as well, but that causes the query to not work at all. What do I need to do to be able to run a query that can access both of these libraries on the same connection?

                  推荐答案

                  库列表仅在使用系统命名约定时有效.

                  The library list only works when using the system naming convention.

                  SQL_NAMING
                  指定表由以下形式的集合名称限定:

                  collection.table

                  其中collection 是集合的名称,table 是表名.默认限定符是运行执行 SQL 语句的进程的用户 ID,在未显式限定表名且未指定默认集合名称时使用.

                  SQL_NAMING
                  Specifies that tables are qualified by the collection name in the form:

                  collection.table

                  where collection is the name of the collection and table is the table name. The default qualifier is the user ID running the process that executes the SQL statement and is used when the table name is not explicitly qualified and the default collection name is not specified.

                  SYSTEM_NAMING
                  指定文件由库名限定,格式为:

                  库/文件

                  其中 library 是库和文件的名称是表名.默认搜索路径是如果表名(文件)未明确限定,则为非限定表名的库列表 (*LIBL)并且未指定默认集合名称(库).

                  SYSTEM_NAMING
                  Specifies that files are qualified by library name in the form:

                  library / file

                  where library is the name of the library and file is the table name. The default search path is the library list (*LIBL) for the unqualified table name, if the table name (file) is not explicitly qualified and a default collection name (library) is not specified.

                  这篇关于库列表的 IBM .NET 数据提供程序连接字符串问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  C# namespace alias - what#39;s the point?(C# 命名空间别名 - 有什么意义?)
                  Using Xpath With Default Namespace in C#(在 C# 中使用具有默认命名空间的 Xpath)
                  IBM.Data.DB2.Core connection problems(IBM.Data.DB2.Core 连接问题)
                  Generating an EDMX from a DB2 Database(从 DB2 数据库生成 EDMX)
                  Datetime field overflow with IBM Data Server Client v9.7fp5(IBM Data Server Client v9.7fp5 的日期时间字段溢出)
                  Using entity Framework with .NET Core and DB2(将实体框架与 .NET Core 和 DB2 结合使用)
                • <small id='WfhwQ'></small><noframes id='WfhwQ'>

                      <tbody id='WfhwQ'></tbody>
                        1. <i id='WfhwQ'><tr id='WfhwQ'><dt id='WfhwQ'><q id='WfhwQ'><span id='WfhwQ'><b id='WfhwQ'><form id='WfhwQ'><ins id='WfhwQ'></ins><ul id='WfhwQ'></ul><sub id='WfhwQ'></sub></form><legend id='WfhwQ'></legend><bdo id='WfhwQ'><pre id='WfhwQ'><center id='WfhwQ'></center></pre></bdo></b><th id='WfhwQ'></th></span></q></dt></tr></i><div id='WfhwQ'><tfoot id='WfhwQ'></tfoot><dl id='WfhwQ'><fieldset id='WfhwQ'></fieldset></dl></div>
                            <bdo id='WfhwQ'></bdo><ul id='WfhwQ'></ul>
                            <tfoot id='WfhwQ'></tfoot>
                            <legend id='WfhwQ'><style id='WfhwQ'><dir id='WfhwQ'><q id='WfhwQ'></q></dir></style></legend>