从sqlserver2000升级到sqlserver2005碰到原来的连接字符串不能用.
仔细看了下连接还是有差别:
SQLSERVER2005:
Data Source=192.168.0.1;Initial Catalog=tempdb;User ID=sa;Password=123456
SQLSERVER2000:
SERVER = 192.168.0.1;DATABASE = tempdb;USER ID = sa;PASSWORD = 123456
从sqlserver2000升级到sqlserver2005碰到原来的连接字符串不能用.
仔细看了下连接还是有差别:
SQLSERVER2005:
Data Source=192.168.0.1;Initial Catalog=tempdb;User ID=sa;Password=123456
SQLSERVER2000:
SERVER = 192.168.0.1;DATABASE = tempdb;USER ID = sa;PASSWORD = 123456