Home
DataBase NoteBook
Home
Oracle
SQL Basics
SQL
Oracle DBA
Oracle Tuning
Oracle Insight
SQL Server
SQL
SQL Server DBA
SQL Server Insight
SISS
Informatica
SAP HANA
Monday, August 24, 2009
Query to identify the SID of current session
6:28 AM
Oracle
,
Oracle-DBA
No comments
select sid from V$mystat where rownum =1;
Email This
BlogThis!
Share to X
Share to Facebook
Share to Pinterest
Newer Post
Older Post
Home
0 comments:
Post a Comment
Subscribe to:
Post Comments (Atom)
Social Profiles
Popular
Tags
Blog Archives
Array Size Effects
The array size is the number of rows fetched (or sent, in the case of inserts, updates, and deletes) by the server at a time. It can have a ...
Performance Improvement - Part 2: Hard parse is not bad
Performance Improvement - Part 2: Hard parse is not bad In previous post, we have seen the soft parsing is doing less operation comparing wi...
Read file names from the folder
Stored procedure to read the filenames: create procedure spReadFolder @path sysname as begin set nocount on declare @dirfile table( id int...
Count with View in Oracle 9i vs 11g
Oracle 9i Result: SQL> drop table t; Table dropped. SQL> create table t (c number); Table created. SQL> create view v1 as select c...
Can we create table name and column name with case sensitive in oracle?
The table name and Column names CAN BE case sensitive in oracle, but are not by default. Bydefault, any way you create a table, upper case,...
Index skip scan
We are using the B-Tree index and our predicate does not use the leading edge of index, in this case we might have a table T with an index o...
Index is not getting used
We are using the B-Tree index and our predicate does not use the leading edge of index, in this case we might have a table T with an index o...
Cumulative Sum
Ways to get a Cumulative Sum: Initial setup: Creating the table and populating the table. CREATE TABLE #Sales (DayCount smallint, Sales mon...
EXECUTE AS and REVERT:
EXECUTE AS and REVERT: The EXECUTE AS and the REVERT are used to change the execution logins. We see the example to change the connection de...
Enable xp_cmdshell on a MS SQL Server Instance
Enable xp_cmdshell on a MS SQL Server Instance : xp_cmdshell has the power to make modifications on the outer world of SQL Server. So this ...
About me and Blog !
Hi!!!! I work in Oracle and SQL Server products and have opened this blog to share by day to day experiences.
Note: The opinions expressed herein are my own personal opinions.
Please feel free to comment here.
Karthikeyan Baskaran
OCA
Followers
Month List
Month List
Aug 2013 (3)
May 2013 (8)
May 2012 (1)
Oct 2011 (1)
Sep 2011 (1)
Feb 2011 (2)
Jan 2011 (1)
Dec 2010 (3)
Nov 2010 (1)
Oct 2010 (1)
Sep 2010 (2)
Aug 2010 (3)
Jul 2010 (3)
Jun 2010 (13)
Apr 2010 (2)
Feb 2010 (6)
Jan 2010 (1)
Nov 2009 (1)
Oct 2009 (3)
Sep 2009 (2)
Aug 2009 (9)
Labels
HANA
(1)
HANA_Home
(1)
Informatica
(1)
Oracle
(36)
Oracle - SQL
(8)
Oracle - Tuning
(6)
Oracle Insight
(16)
Oracle-DBA
(11)
Oracle-SQL Basic
(4)
Shell Script
(1)
SQL Server
(20)
SQL Server - SQL
(15)
SQL Server Basic
(1)
SQL Server DBA
(6)
SQL Server Insight
(1)
SSIS
(1)
Blog Archive
►
2013
(11)
►
August
(3)
►
May
(8)
►
2012
(1)
►
May
(1)
►
2011
(5)
►
October
(1)
►
September
(1)
►
February
(2)
►
January
(1)
►
2010
(35)
►
December
(3)
►
November
(1)
►
October
(1)
►
September
(2)
►
August
(3)
►
July
(3)
►
June
(13)
►
April
(2)
►
February
(6)
►
January
(1)
▼
2009
(15)
►
November
(1)
►
October
(3)
►
September
(2)
▼
August
(9)
Multitable Inserts
Table Space Status Script
TRUNCATE Vs Index Status
Identify the redo size of the current session
Query to identify the SID of current session
NOLOGGING Vs Redo entries.
Indexes on two different table space( Associated t...
UNION = OR?
Index scan on Null able column
Blogger templates
Blogger news
Blogroll
0 comments:
Post a Comment