use 数据库名 insert into Tcuser_contact(cpname,lid,linkman,sex,email,depsrt,position,telc,relcity,telcity,faxc,faxcity,faxnum )values('cpname','1','linkmun','1','[email protected]','1','2','countryPhoneID','cityPhoneID','PhoneNumber','countryFaxID','cityFaxID','FaxNumber')
改為: insert into 數據庫.dbo.Tcuser_contact(cpname,lid,linkman,sex,email,depsrt,position,telc,relcity,telcity,faxc,faxcity,faxnum )values('cpname','1','linkmun','1','[email protected]','1','2','countryPhoneID','cityPhoneID','PhoneNumber','countryFaxID','cityFaxID','FaxNumber')
use 数据库名 insert into Tcuser_contact(cpname,lid,linkman,sex,email,depsrt,position,telc,relcity,telcity,faxc,faxcity,faxnum )values('cpname','1','linkmun','1','[email protected]','1','2','countryPhoneID','cityPhoneID','PhoneNumber','countryFaxID','cityFaxID','FaxNumber')
use 数据库名 是不是 user dbnameinsert into Tcuser_contact(cpname,lid,linkman,sex,email,depsrt,position,telc,relcity,telcity,faxc,faxcity,faxnum )values('cpname','1','linkmun','1','[email protected]','1','2','countryPhoneID','cityPhoneID','PhoneNumber','countryFaxID','cityFaxID','FaxNumber')
insert into Tcuser_contact(cpname,lid,linkman,sex,email,depsrt,position,telc,relcity,telcity,faxc,faxcity,faxnum )values('cpname','1','linkmun','1','[email protected]','1','2','countryPhoneID','cityPhoneID','PhoneNumber','countryFaxID','cityFaxID','FaxNumber')
insert into 數據庫.dbo.Tcuser_contact(cpname,lid,linkman,sex,email,depsrt,position,telc,relcity,telcity,faxc,faxcity,faxnum )values('cpname','1','linkmun','1','[email protected]','1','2','countryPhoneID','cityPhoneID','PhoneNumber','countryFaxID','cityFaxID','FaxNumber')
insert into Tcuser_contact(cpname,lid,linkman,sex,email,depsrt,position,telc,relcity,telcity,faxc,faxcity,faxnum )values('cpname','1','linkmun','1','[email protected]','1','2','countryPhoneID','cityPhoneID','PhoneNumber','countryFaxID','cityFaxID','FaxNumber')
是不是
user dbnameinsert into Tcuser_contact(cpname,lid,linkman,sex,email,depsrt,position,telc,relcity,telcity,faxc,faxcity,faxnum )values('cpname','1','linkmun','1','[email protected]','1','2','countryPhoneID','cityPhoneID','PhoneNumber','countryFaxID','cityFaxID','FaxNumber')
对象名 'merchant.Tcuser_contact' 无效。
--or
merchant.ownername.tcuser_contact