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 →

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

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

Posted on June 12, 2013 by Shiji Pan

select dbms_metadata.get_ddl('TABLE', 'the_table_name', 'the_schema_name') from dual Replace “the_table_name” and “the_schema_name” with yours. 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 ... Read more

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

How to generate a CREATE TABLE statement for a given table in SQL Server

Posted on June 12, 2013 by Shiji Pan

declare @table varchar(100) set @table = 'my_table' -- set table name here declare @sql table(s varchar(1000), id int identity) -- create statement insert into @sql(s) values ('create table [' + @table + '] (') -- column list insert into @sql(s) select ' ['+column_name+'] ' + ... Read more

Posted in Sql Server | Tagged generate a CREATE TABLE statement, Sql Server

Post navigation

← Older posts
Newer posts →

Recent Posts

  • TextMerger 1.0 Released: A Lightweight Cross-Platform Tool for Fast Text File Merging
  • FileToMongo 5.0 Released: Enhanced Stability, Speed & HTML Table Support
Withdata Software. ©2004 - 2026 All rights reserved.