TheStyle Logo Subscribe to the RSS feed
  • Home
  • Apple
  • Business Intelligence
  • Css
  • Inspiration
  • Java
  • Javascript jQuery
  • MySQL
  • Oracle
  • PHP
  • SAP BO Data Integrator
  • Snippets
  • Terminology
  • Tip of the day
  • Tutorial
  • Unix
  • Web Development
  • Wordpress
  • Yii Framework
Home » Oracle
Oracle rows to columns for all Oracle Versions
  • Oracle
Mar06

Oracle rows to colum...

posted by xav

Ok, let’s say that you need to turn some rows into columns. For example, you have a table where you have information of a person span over several records. Record 1 contains the type of the person like this: person_id, attribute_id and value. example : 123,...

»»
Oracle simple delete duplicates
  • Oracle
  • Snippets
Dec19

Oracle simple delete...

posted by xav

Well, this is a fine statement to delete duplicates in a table : DELETE FROM table1 A WHERE A.rowid > ANY ( SELECT B.rowid FROM table1 B WHERE A.ID = B.ID and any additional condition ) and other conditions on...

»»
Get the size  of your table partitions
  • Oracle
  • Terminology
Oct12

Get the size of you...

posted by xav

Here goes a simple SQL to retrieve the amount of space that a partioned takes (partion by partition) in MB. select partition_name, bytes/1024/1024 as size_mb from dba_segments where segment_name = 'YOUR_TABLE' order by 1 There you all your partions in MB.

»»
Get your Oracle DB character set
  • Oracle
  • Snippets
Oct05

Get your Oracle DB c...

posted by xav

Here goes one fine and simple SQL statement to get your character set from your Oracle DB. SELECT * FROM nls_database_parameters WHERE parameter = 'NLS_CHARACTERSET' That’s it.

»»
Oracle : random sample of a percentage of rows
  • Oracle
  • Tip of the day
Jun18

Oracle : random samp...

posted by xav

How to retrieve a random sample of a percentage of a table’s rows ? Here goes the shorty for Oracle. Maybe there is another solution. But that one worked for me.   select * from (select * from table order by dbms_random.value) where rownum <= (select...

»»
PHP and Oracle
  • Oracle
  • PHP
  • Snippets
Feb08

PHP and Oracle

posted by xav

Here goes a tiny snippet that should get you started by using Oracle as your database instead of the classic MySql RDBMS. <?php // At first, get connected to the instance of your RDBMS $conn = oci_connect("user", "password",...

»»
Oracle Partitions
  • Oracle
Jan19

Oracle Partitions

posted by xav

Oracle Partitioning enhances the manageability, performance, and availability of database applications. Partitioning allows tables, indexes, and index-organized tables to be subdivided into smaller pieces, enabling these database objects to be managed and accessed at a finer level of...

»»
  • Recent
  • Popular
  • Random
  • Change the download file name with html5 Change the download file name with html5 Posted by xav on 14 May , 2013
  • Active Telephone links in webpages Active Telephone links in webpages Posted by xav on 14 May , 2013
  • Yii extensions Yii extensions Posted by xav on 13 May , 2013
  • Yii: Multilingual simple approach Yii: Multilingual simple approach Posted by xav on 17 Sep , 2012
  • Yii: Use themes Yii: Use themes Posted by xav on 22 Jun , 2012
  • Web Start : Don’t re invent the wheel Web Start : Don’t re invent the wheel Posted by xav on 23 Feb , 2012
  • Set a CDN up with Amazon S3 Set a CDN up with Amazon S3 Posted by xav on 22 Jun , 2012
  • Oracle : random sample of a percentage of rows Oracle : random sample of a percentage of rows Posted by xav on 18 Jun , 2012

Series

  • Beginning with Yii (7)
  • MySQL Procedures (1)

Categories

  • Apple (1)
  • Business Intelligence (1)
  • Css (1)
  • Inspiration (2)
  • Java (1)
  • Javascript jQuery (1)
  • MySQL (2)
  • Oracle (7)
  • PHP (5)
  • SAP BO Data Integrator (1)
  • Snippets (11)
  • Terminology (2)
  • Tip of the day (19)
  • Tutorial (4)
  • Unix (1)
  • Web Development (11)
  • Wordpress (4)
  • Yii Framework (6)

Advertisement

myows online copyright protection

RSS FifteenPeas Blog

  • Know your market !
  • Webfonts : Expand your typography stacks
  • DOTCLEAR : a WordPress alternative
  • Silverstripe : the CMS from New Zeeland.
  • The Setup: What do people use to get stuff done?

Series

  • Beginning with Yii (7)
  • MySQL Procedures (1)

Web Development

  • Smashing Magazine Best Web Design and development resource ever ! Smashing Magazine Best Web Design and development resource ever !

Wed Design

  • Abduzeedo Best Design inspiration Blog ever ! Abduzeedo Best Design inspiration Blog ever !

Often used Tags

apache beginner Best Practice bitbucket boilerplate business intelligence CDN coding command line css database Data base debug framework Free git Google htaccess information java LESS Mobile mysql Oracle php RDBMS robots SEO Snippet snippets sourcetree spring SQL svn terminal unix unix commands url version control visualization web Web Service web start wordpress Yii

a fifteenPeas.com release | Powered by Wordpress