18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
q
I would like to know how to sort the database values. i'm using postgres .
I used the following query but it didn't work.
var db = _getDB("org.postgresql.Driver", "jdbc:postgresql://localhost:5432/dbname", "username","password");
var $b = new Array();
$rs = db.select("select * from tblseismic_exposure order by Seismic Zone asc");
But when i'm not using 'order by' query is running fine.
I used the following query but it didn't work.
var db = _getDB("org.postgresql.Driver", "jdbc:postgresql://localhost:5432/dbname", "username","password");
var $b = new Array();
$rs = db.select("select * from tblseismic_exposure order by Seismic Zone asc");
But when i'm not using 'order by' query is running fine.
Best Answer
This discussion has been closed.
Answers
Can you let me know the behavior and logs that you see when you use "order by".
Regards.