Withdata Software

Producing high-quality database tools

Main menu

Skip to primary content
Skip to secondary content
  • Withdata
  • Blog
  • Categories
  • Tags
  • Tools

Post navigation

← Older posts
Newer posts →

The DB2 equivalent for the MySQL Limit

Posted on June 25, 2013 by Shiji Pan

In MySQL, you can use “Limit n,m”, like this: select * from sometable order by name limit 20,10 And in DB2, use this query: SELECT * FROM (SELECT * FROM sometable ORDER BY name DESC fetch first {start} rows only ) AS mini ORDER BY mini.name ASC fetch first {total} rows ... Read more

Posted in DB2 | Tagged DB2, equivalent for the MySQL Limit

The SQL Server equivalent for the MySQL Limit

Posted on June 25, 2013 by Shiji Pan

In MySQL, you can use “Limit n,m”, like this: select * from sometable order by name limit 20,10 And in SQL Server, use this query: SELECT * FROM ( SELECT *, ROW_NUMBER() OVER (ORDER BY name) as rowNum FROM sometable ) sub WHERE rowNum > 20 AND ... Read more

Posted in Sql Server | Tagged equivalent for the MySQL Limit, Sql Server

How to limit the number of rows returned by an Oracle query after ordering

Posted on June 25, 2013 by Shiji Pan

In MySQL, you can use “Limit n,m”, like this: select * from sometable order by name limit 20,10 How to do in Oracle? select * from ( select a.*, ROWNUM rnum from ( <your_query_goes_here, with order by> ) a where ROWNUM <= :MAX_ROW_TO_FETCH ) where rnum >= ... Read more

Posted in Oracle | Tagged equivalent for the MySQL Limit, Oracle

Fetch the row which has the Max value for a column on Mysql

Posted on June 19, 2013 by Shiji Pan

I have a MySQL table clientipstat, 3 columns: barcode, statdate, count. I want to get the latest row for each barcode(1 result per unique barcode), like ... Read more

Posted in Mysql | Tagged MAX() + GROUP BY, Mysql

Withdata Software Released OraLobEditor 3.5

Posted on June 18, 2013 by Shiji Pan

Withdata software has announced oralobeditor 3.5, a tool that helps you edit Oracle lob(clob,blob) data directly. OraLobEditor 3.5 add PDF View, add “Execute Sql from Command line”, improve logon form, improve “Check update”, and fix bug on “Execute from command ... Read more

Posted in PR | Tagged BLOB, CLOB, Lob Editor, Oracle, OraLobEditor

Withdata Software Released SqlLobEditor 2.1

Posted on June 18, 2013 by Shiji Pan

Withdata software has announced sqllobeditor 2.1, a tool that helps you edit SQL Server lob(text,ntext,image) data directly. SqlLobEditor 2.1 add PDF View, add “Execute Sql from Command line”, improve logon form, improve “Check update”, and fix bug on “Execute from ... Read more

Posted in PR | Tagged BLOB, CLOB, Lob Editor, Sql Server, SqlLobEditor

Withdata Software Released MyLobEditor 1.9

Posted on June 18, 2013 by Shiji Pan

Withdata software has announced mylobeditor 1.9, a tool that helps you edit MySQL lob(text,blob) data directly. MyLobEditor 1.9 add PDF View, add “Execute Sql from Command line”, improve logon form, improve “Check update”, and fix bug on “Execute from command ... Read more

Posted in PR | Tagged BLOB, CLOB, LobEditor, MyLobEditor, Mysql

Withdata Software Released DB2LobEditor 1.7

Posted on June 18, 2013 by Shiji Pan

Withdata software has announced db2lobeditor 1.7, a tool that helps you edit DB2 lob (blob, clob) data directly. DB2LobEditor 1.7 add PDF View, add “Execute Sql from Command line”, improve logon form, improve “Check update”, and fix bug on “Execute from command ... Read more

Posted in PR | Tagged BLOB, CLOB, DB2, DB2LobEditor, Lob Editor

Withdata Software Released DBBlobEditor 5.1

Posted on June 18, 2013 by Shiji Pan

WITHDATA SOFTWARE has announced DBBlobEditor 5.1, a tool that helps you edit Database LOB (BLOB, CLOB) data directly. DBBlobEditor 5.1 add “Execute from command line”, add “Execute Sql from Command line”, improve logon form and improve “Check ... Read more

Posted in PR | Tagged BLOB, CLOB, DBBlobEditor, Lob Editor

How to generate a CREATE TABLE statement for a given table in Mysql

Posted on June 13, 2013 by Shiji Pan

Just use SHOW CREATE TABLE SHOW CREATE TABLE my_table See also: How to generate a CREATE TABLE statement for a given table in SQL Server How to generate a CREATE TABLE statement for a given table in Oracle How to generate a CREATE TABLE statement for a given table in SQLite Some MySQL tools you ... Read more

Posted in Mysql | Tagged generate a CREATE TABLE statement, Mysql

Post navigation

← Older posts
Newer posts →

Recent Posts

  • TextMerger 1.1 Released: Merge Preview, Encoding Conversion, Log Merge and CLI
  • LevelDataStudio 1.6 Released: Native UI, No WebView, Lower Memory
Withdata Software. ©2004 - 2026 All rights reserved.