<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Writing Something &#187; oracle</title> <atom:link href="http://www.serdarb.com/tag/oracle/feed/" rel="self" type="application/rss+xml" /><link>http://www.serdarb.com</link> <description>Serdar's</description> <lastBuildDate>Wed, 21 Dec 2011 12:35:22 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Oracle-ing Myself &#8211; Lesson 7 Özeti</title><link>http://www.serdarb.com/sql/oracle-ing-myself-lesson-7-ozeti/</link> <comments>http://www.serdarb.com/sql/oracle-ing-myself-lesson-7-ozeti/#comments</comments> <pubDate>Wed, 01 Apr 2009 19:27:00 +0000</pubDate> <dc:creator>serdar</dc:creator> <category><![CDATA[Sql]]></category> <category><![CDATA[oracle]]></category><guid
isPermaLink="false">http://www.serdarb.com/?p=572</guid> <description><![CDATA[
DROP TABLE emp2;
&#160;
SELECT original_name,
operation,
droptime
FROM recyclebin;
&#160;
flashback TABLE emp2 TO before DROP;
&#160;
--external tables
--c:\deneme diye bir klasör olustur içine
--emp.dat diye dosya olustur virgülle ayrilmis
CREATE directory deneme AS 'C:\deneme';
&#160;
GRANT READ WRITE ON directory deneme TO hr;
&#160;
CREATE TABLE oldemp &#40;fname char&#40;25&#41;, lname char&#40;25&#41;&#41;
organization external &#40;type oracle_loader DEFAULT directory deneme
access [...]]]></description> <wfw:commentRss>http://www.serdarb.com/sql/oracle-ing-myself-lesson-7-ozeti/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Oracle-ing Myself &#8211; Lesson 6 Özeti</title><link>http://www.serdarb.com/sql/oracle-ing-myself-lesson-6-ozeti/</link> <comments>http://www.serdarb.com/sql/oracle-ing-myself-lesson-6-ozeti/#comments</comments> <pubDate>Mon, 23 Mar 2009 10:57:10 +0000</pubDate> <dc:creator>serdar</dc:creator> <category><![CDATA[Sql]]></category> <category><![CDATA[oracle]]></category><guid
isPermaLink="false">http://www.serdarb.com/?p=556</guid> <description><![CDATA[
CREATE VIEW vwsal AS
SELECT last_name lname,
department_id deptid,
salary sal
FROM employees
WHERE department_id = 50;
&#160;
SELECT *
FROM vwsal;
&#160;
UPDATE vwsal
SET sal = sal + 10;
&#160;
CREATE OR REPLACE VIEW vwsal AS
SELECT last_name lname,
department_id deptid,
salary sal
FROM employees
WHERE department_id = 60;
&#160;
CREATE OR REPLACE [...]]]></description> <wfw:commentRss>http://www.serdarb.com/sql/oracle-ing-myself-lesson-6-ozeti/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Oracle-ing Myself &#8211; Lesson 5 Özeti</title><link>http://www.serdarb.com/sql/oracle-ing-myself-lesson-5-ozeti/</link> <comments>http://www.serdarb.com/sql/oracle-ing-myself-lesson-5-ozeti/#comments</comments> <pubDate>Sun, 22 Mar 2009 19:06:35 +0000</pubDate> <dc:creator>serdar</dc:creator> <category><![CDATA[Sql]]></category> <category><![CDATA[oracle]]></category><guid
isPermaLink="false">http://www.serdarb.com/?p=558</guid> <description><![CDATA[
commit;
&#160;
INSERT
UPDATE
CREATE --create anında auto commit olur
DELETE
&#160;
rollback; --create cümlesinin sonrasına dönebiliriz...
&#160;
&#160;
--for update, select ile gelen kolonları kilitliyor...
SELECT employee_id,
salary,
job_id
FROM employees
WHERE job_id = 'SA_REP'
FOR UPDATE
ORDER BY employee_id;
&#160;
CREATE TABLE my_employee&#40;
id NUMBER&#40;4&#41; NOT NULL,
last_name VARCHAR2&#40;25&#41;,
first_name VARCHAR2&#40;25&#41;,
userid VARCHAR2&#40;8&#41;,
salary NUMBER&#40;9,   2&#41;&#41;;
&#160;
DESC my_employee;
&#160;
INSERT INTO my_employee VALUES &#40;1,'Patel','Ralph','rpatel',895&#41;;
&#160;
INSERT INTO my_employee &#40;id,last_name,first_name,userid,salary&#41; VALUES
&#40;2,'Dancs','Betty','bdancs',860&#41;;
&#160;
INSERT INTO my_employee &#40;id,last_name,first_name,userid,salary&#41; VALUES
&#40;&#38;id,'&#38;last_name','&#38;first_name','&#38;userid',&#38;salary&#41;;
&#160;
commit;
&#160;
SELECT * FROM my_employee;
&#160;
UPDATE my_employee
SET [...]]]></description> <wfw:commentRss>http://www.serdarb.com/sql/oracle-ing-myself-lesson-5-ozeti/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Oracle-ing Myself &#8211; Lesson 4 Özeti</title><link>http://www.serdarb.com/sql/oracle-ing-myself-lesson-4-ozeti/</link> <comments>http://www.serdarb.com/sql/oracle-ing-myself-lesson-4-ozeti/#comments</comments> <pubDate>Sun, 15 Mar 2009 12:23:28 +0000</pubDate> <dc:creator>serdar</dc:creator> <category><![CDATA[Sql]]></category> <category><![CDATA[oracle]]></category><guid
isPermaLink="false">http://www.serdarb.com/?p=538</guid> <description><![CDATA[
SELECT first_name,
last_name,
salary
FROM employees
WHERE salary &#62;
&#40;SELECT salary
FROM employees
WHERE last_name = 'Abel'&#41;
;
&#160;
&#160;
SELECT first_name,
last_name,
salary
FROM employees
WHERE salary &#60; ANY
&#40;SELECT salary
FROM employees
WHERE job_id = 'IT_PROG'&#41;
AND job_id &#60;&#62; 'IT_PROG';
&#160;
&#160;
SELECT first_name,
last_name,
salary
FROM employees
WHERE salary &#60;
[...]]]></description> <wfw:commentRss>http://www.serdarb.com/sql/oracle-ing-myself-lesson-4-ozeti/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Oracle-ing Myself &#8211; Lesson 3 Özeti</title><link>http://www.serdarb.com/sql/oracle-ing-myself-lesson-3-ozeti/</link> <comments>http://www.serdarb.com/sql/oracle-ing-myself-lesson-3-ozeti/#comments</comments> <pubDate>Sun, 15 Mar 2009 10:01:00 +0000</pubDate> <dc:creator>serdar</dc:creator> <category><![CDATA[Sql]]></category> <category><![CDATA[oracle]]></category><guid
isPermaLink="false">http://www.serdarb.com/?p=535</guid> <description><![CDATA[
SELECT department_id,
job_id,
AVG&#40;salary&#41;
FROM employees
WHERE SUBSTR&#40;first_name,   0,   1&#41; = 'A'
GROUP BY job_id,
department_id HAVING AVG&#40;salary&#41; &#62; 5000
ORDER BY department_id,
job_id;
&#160;
&#160;
SELECT SUM&#40;salary&#41; AS
toplam,
AVG&#40;salary&#41; AS
ortalama,
MIN&#40;salary&#41; AS
mini,
MAX&#40;salary&#41; AS
maxi,
STDDEV&#40;salary&#41; AS
standartsapma,
VARIANCE&#40;salary&#41; AS
karakok,
COUNT&#40;salary&#41; AS
sayi
FROM employees;
&#160;
&#160;
SELECT AVG&#40;nvl&#40;commission_pct,   0&#41;&#41; AS
tumcomisyonlar,
[...]]]></description> <wfw:commentRss>http://www.serdarb.com/sql/oracle-ing-myself-lesson-3-ozeti/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: www.serdarb.com @ 2012-02-07 00:59:14 -->
