Revision 2723
Added by Jing Tao about 19 years ago
src/edu/ucsb/nceas/dbadapter/SqlserverAdapter.java | ||
---|---|---|
106 | 106 |
return "'" + dateString +"'"; |
107 | 107 |
} |
108 | 108 |
|
109 |
/** |
|
110 |
* Return a hard code string to get xml_document list in timed replcation |
|
111 |
*/ |
|
112 |
public String getReplicationDocumentListSQL() |
|
113 |
{ |
|
114 |
String sql ="select a.docid, a.rev, a.doctype from ( xml_documents a left outer join xml_revisions b on (a.docid=b.docid and a.rev<=b.rev)) where b.docid is null "; |
|
115 |
return sql; |
|
116 |
} |
|
117 |
|
|
109 | 118 |
} |
110 | 119 |
|
Also available in: Unified diff
Add class as parent class add method.