Project

General

Profile

« Previous | Next » 

Revision 773

Added by bojilova about 23 years ago

included new function that returns db specific non-null function name

View differences:

DBSqlServer.java
59 59
      uniqueid = rs.getLong(1);
60 60
    }
61 61
    stmt.close();
62
System.out.println("Unique ID: " + uniqueid);    
62
    //System.out.println("Unique ID: " + uniqueid);    
63 63
    return uniqueid;
64 64
  }
65 65

  
......
76 76
  }
77 77

  
78 78
  /**
79
   * The SQL Server's function name that is used to return non-NULL value
80
   *
81
   * @return return the non-NULL function name: "isnull"
82
   */
83
  public String getIsNULLFunction() {
84
    
85
    return "isnull";
86
  }
87

  
88
  /**
79 89
   * The SQL Server's string delimiter character: single quote (')
80 90
   *
81 91
   * @return return the string delimiter: single quote (')

Also available in: Unified diff