Tagged: IT Knowledge

Oracle Tips : Amazing Oracle Date Function Part#3

พบกันอีกเช่นเคย วันนี้เราจะมาจบเรื่อง Oracle Date Function กัน แต่วันนี้มี LAB นิดหน่อยครับ จะต้องสร้างตารางสำหรับทดสอบขึ้นมา เพื่อให้เห็นภาพมากขึ้น ดังนี้ CREATE TABLE TEST_TIME ( dcol1 DATE, dcol2 DATE, dcol3 DATE); INSERT INTO TEST_TIME VALUES (SYSDATE+23, SYSDATE-10, SYSDATE-24); INSERT INTO TEST_TIME VALUES (SYSDATE-15,...

Oracle Tips : Amazing Oracle Date Function Part#1

Oracle Tips : Amazing Oracle Date Function Part#1 สวัสดีตอนกลางคืนอีกแล้ว วันนี้มีทิปดีๆมาฝากเป็นเรื่องของวันเวลาครับ ไม่ว่าจะทำอะไรอยู่ที่ไหนเวลาอยู่เดินไปกับเราเสมอ ยิ่งพูดถึงเรื่องของ ฐานข้อมูล หรือ ข้อมูล ด้วยแล้ว เราคงหนีเรื่องการใช้ วัน.เวลา (date) ไม่ได้แน่นอน ครับเรามาเริ่มกันเลยดีว่า วันนี้มีฟังก์ชันเกี่ยวกับเรื่องการจัดการเวลามาฝากหลายฟังก์ชัน (คัดที่ใช้ประโยชน์บ่อยๆเลย) ดังนี้ 1. SYSDATE vs CURRENT_DATE ฟังก์ชันแรกนี้คงจะคุ้นเคยกันกับ “SYSDATE” ซึ่งคือการแสดง วัน/เวลา ณ ปัจจุบัน...

Security Update : Apache.org Hacked Using Remote SSH Key

Apache.org Hacked Using Remote SSH Key Darknet spilled these bits on September 2nd 2009 @ 7:18 am Apache.org has been hacked quite a number of this times, last week it happened again and the...

Solaris : How to resolve UNEXPECTED INCONSISTENCY

Solaris : How to resolve UNEXPECTED INCONSISTENCY An error message during the booting of Sun Solaris operating system can be caused due to file system corruption, operating system malfunctioning, superblock damage, Inode table corruption,...