资料:
An ODBC data source name (DSN) can be one of the following types:
1).User - A data source local to a computer and accessible only by the current user that created the data source.
2).System - A data source local to a computer but not dedicated to a specific user, so any user with appropriate privileges can access a system DSN. A System data source is visible to all users on a computer, including Windows NT services.
3).File - A data source stored in a file that can be shared among all users who have the same ODBC drivers installed. These data sources need not be dedicated to a specific user or local to a computer.
大概意思:
用户数据源名对计算机来说是本地的,并且只能被当前用户访问。
系统数据源名对于计算机来说是本地的,但并不是用户专用的;任何具有权限的用户都可以访问系统 DSN。
文件数据源可以在所有安装了相同驱动程序的用户中被共享。这些数据源不必是用户专用的或对计算机来说是本地的。
注册表位置:
用户DSN:存储在注册表HK_CURRENT_USER\Software\ODBC\ODBC.INI中,只对当前用户可用。
系统DSN:存储在注册表HK_LOCAL_MACHINE\Software\ODBC\ODBC.INI中,对所有用户可用。
例如在Cognos连接Teradata数据源时,提示数据源找不到,则可能是DSN建在用户DSN上,Cognos无法访问到得原因。
An ODBC data source name (DSN) can be one of the following types:
1).User - A data source local to a computer and accessible only by the current user that created the data source.
2).System - A data source local to a computer but not dedicated to a specific user, so any user with appropriate privileges can access a system DSN. A System data source is visible to all users on a computer, including Windows NT services.
3).File - A data source stored in a file that can be shared among all users who have the same ODBC drivers installed. These data sources need not be dedicated to a specific user or local to a computer.
大概意思:
用户数据源名对计算机来说是本地的,并且只能被当前用户访问。
系统数据源名对于计算机来说是本地的,但并不是用户专用的;任何具有权限的用户都可以访问系统 DSN。
文件数据源可以在所有安装了相同驱动程序的用户中被共享。这些数据源不必是用户专用的或对计算机来说是本地的。
注册表位置:
用户DSN:存储在注册表HK_CURRENT_USER\Software\ODBC\ODBC.INI中,只对当前用户可用。
系统DSN:存储在注册表HK_LOCAL_MACHINE\Software\ODBC\ODBC.INI中,对所有用户可用。
例如在Cognos连接Teradata数据源时,提示数据源找不到,则可能是DSN建在用户DSN上,Cognos无法访问到得原因。
目前有 0 条评论