Skip to content
SWKB.NET

Yearly Archives: 2008

  1. Home>
  2. 2008>
  3. Page 2

Oracle 10g: Find Sessions

  • Post author:admin
  • Post published:August 9, 2008
  • Post category:Oracle DB: How To Examples
  • Post comments:0 Comments

How to retrieve session information: select S.LOGON_TIME ,sid, serial#, username, command, lockwait, status, osuser, sql_text, machinefrom v$session s, v$sqlarea q where s.sql_hash_value = q.hash_valueand s.sql_address = q.addressand osuser = 'zzz'and…

Continue ReadingOracle 10g: Find Sessions

Oracle 10g: Pivot Query

  • Post author:admin
  • Post published:August 8, 2008
  • Post category:Oracle DB: How To Examples
  • Post comments:0 Comments

How to create a pivot query: with t as ( select 1 GRP_NR, 'A' val from dual union allselect 1 ,'B' val from dual union allselect 2 ,'A' val from…

Continue ReadingOracle 10g: Pivot Query

MySQL: Create User

  • Post author:admin
  • Post published:August 6, 2008
  • Post category:MySQL: How To Examples
  • Post comments:0 Comments

How to create user and give the necessary grants:

create user 'ms'@'111.222.11.22' identified by 'swkb123';

grant select, delete, insert, update on myschema.* to 'ms'@'111.222.11.22'
grant all privileges on myschema.* to 'ms'@'111.222.11.22';
(more…)

Continue ReadingMySQL: Create User
  • Go to the previous page
  • 1
  • 2

Recent Posts

  • How to loop through Collection
  • HttpXsrfInterceptor and HttpXsrfCookieExtractor implementation example
  • Euromillions simulation
  • The birthday paradox
  • Java: Write to file
  • Tomcat: How to set encoding to unicode
  • Oracle PL/SQL: SYS_RefCursor to JSON
  • Oracle PL/SQL: Conditional Cursor
  • MySQL: Load data into table from file
  • Oracle DB: NUMBER data type

Recent Comments

    Categories

    • AJAX: How To Examples
    • Angular7: How To Examples
    • Apache
    • APEX: How To Examples
    • C++: How To Examples
    • Calculations
    • CSS: How To Examples
    • Google: How To Examples
    • Hibernate: How To examples
    • HTML: How To Examples
    • Java
    • Java: Ant
    • Java: Fundamentals
    • Java: How To Examples
    • Javascript: How To Examples
    • Joomla: Fundamentals
    • Joomla: How To Examples
    • Linux-Unix: How To Examples
    • MS-Access: How To Examples
    • MS-DOS: How To Examples
    • MySQL: How To Examples
    • News
    • Oracle
    • Oracle ADF: How To Examples
    • Oracle Apps: Fundamentals
    • Oracle Apps: Links
    • Oracle DB: Fundamentals
    • Oracle DB: How To Examples
    • Oracle DB: Links
    • Oracle OAF: How To Examples
    • Oracle PL/SQL: How To Examples
    • Oracle PL/SQL: Links
    • PHP: How To Examples
    • Siebel: How To Examples
    • SOAP
    • Tomcat
    • Various
    • VB6: How To Examples
    • WebLogic
    • Windows: How To Examples

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    Copyright - OceanWP Theme by OceanWP