表Employees不存在?
直接执行select * from Employees看有没有错?

解决方案 »

  1.   

    昨天晚上我执行了stmt.execute("create table tabletest (id int,name varchar(20))")没有报错,说明语句执行了,可我到Northwind数据库中找,没有找到,但却在master数据库中找到了,为什么呢,我想找不到employees是因为他也是到master数据库中找,当然是找不到了,jdbc中的数据库明明是Northwind,为什么执行时要到master中呢,麻烦那位高人能给我解释一下,帮我解决这个问题,感谢!!!
      

  2.   

    url  改为jdbc:weblogic:mssqlserver4:Northwind@localhost:1433
      

  3.   

    String s=rs.getString("f_user_name");
    String s2=new String(s.getBytes("8859_1"));
    out.println(s2);