Difference between revisions of "User:Pavila"

From OpenKM Documentation
Jump to: navigation, search
m
Line 11: Line 11:
 
<source lang="sql">
 
<source lang="sql">
 
from NodeDocument nd where nd.uuid in (select ndv.parent from NodeDocumentVersion ndv group by ndv.checksum having count(ndv.checksum) > 1);
 
from NodeDocument nd where nd.uuid in (select ndv.parent from NodeDocumentVersion ndv group by ndv.checksum having count(ndv.checksum) > 1);
 +
select nd.name from NodeDocument nd where nd.uuid in (select ndv.parent from NodeDocumentVersion ndv where ndv.checksum in (select ndv.checksum from NodeDocumentVersion ndv group by ndv.checksum having count(ndv.checksum) > 1))
 
</source>
 
</source>
  

Revision as of 23:13, 4 August 2012

OpenKM Core developer.

import java.util.*;
import java.nio.charset.*;

print("Charset: " + Charset.defaultCharset()+"<br/>");
print("Locale: " + Locale.getDefault()+"<br/>");
from NodeDocument nd where nd.uuid in (select ndv.parent from NodeDocumentVersion ndv group by ndv.checksum having count(ndv.checksum) > 1);
select nd.name from NodeDocument nd where nd.uuid in (select ndv.parent from NodeDocumentVersion ndv where ndv.checksum in (select ndv.checksum from NodeDocumentVersion ndv group by ndv.checksum having count(ndv.checksum) > 1))

TO DO

Books

See also