[Adapdev-commits] Adapdev/src/Adapdev.Data/Sql QueryHelper.cs,1.2,1.3
Status: Beta
Brought to you by:
intesar66
From: Trevor L. <tre...@us...> - 2005-04-14 03:44:20
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Data/Sql In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3367/src/Adapdev.Data/Sql Modified Files: QueryHelper.cs Log Message: Changes to support filtering of Schemas for Oracle Index: QueryHelper.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Data/Sql/QueryHelper.cs,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** QueryHelper.cs 10 Apr 2005 09:59:21 -0000 1.2 --- QueryHelper.cs 14 Apr 2005 03:43:41 -0000 1.3 *************** *** 157,160 **** --- 157,165 ---- } + public static string GetOracleLastInsertedCommand(string table, string column) { + string s = "SELECT MAX([" + column + "]) FROM " + table + ";"; + Console.WriteLine(s); + return s; + } } } \ No newline at end of file |