导航
  • 主页
  • API 调用
  • 基础类
  • 控件与界面
  • 数据库相关
  • DataWindow
  • 项目管理
  • Web 应用
  • 脚本语言

pb6.5, sqlserver2000连接问题?

nielisheng 个人 研究人员  2002-12-31 11:09:56
sql server2000自身用 查询分析器连接无问题;
pb 中连接无问题,db administration 正常使用;

但程序中用sqlca 连接就有问题
第一次:
sqldbcode:10003
sqlerrtext:incorrect longin;
第二次:
sqldbcode:999
sqlerrtext: A SQL Server request resulted in a bad return code or status but no error message was returned.
...全文
28 点赞 收藏 5
写回复
5 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
nielisheng 2002-12-31
原因找到了,忘了加sqlserver2000用户?不过给你100分

回复
flyhot 2002-12-31
public class Customer
{
public int customerId;
public String name;
public String address;
public String state;
public String city;
public String zip;
public String userName;
public String password;

public Customer()
{
}

public Customer(int aCustomerId, String aName, String anAddress,
String aState, String aCity, String aZip, String aUserName,
String aPassword)
{
customerId = aCustomerId;
name = aName;
address = anAddress;
state = aState;
city = aCity;
zip = aZip;
userName = aUserName;
password = aPassword;
}
}
回复
ice2water 2002-12-31
gz
回复
dotnba 2002-12-31
SQLCA.DBMS = "MSS Microsoft SQL Server 6.x"
SQLCA.Lock = ""
SQLCA.AutoCommit = False
SQLCA.DBParm = ""
回复
dotnba 2002-12-31
SQLCA.Database = profilestring(gs_sysset,"sqlca","DataBaseName","")
SQLCA.ServerName = profilestring(gs_sysset,"sqlca","ServerName","")
SQLCA.LogId = profilestring(gs_sysset,"sqlca","LogId","")
SQLCA.LogPass = profilestring(gs_sysset,"sqlca","LogPass","")
回复
发动态
发帖子
PowerBuilder
创建于2007-09-28

816

社区成员

PowerBuilder 相关问题讨论
申请成为版主
社区公告
暂无公告