Shrink / Truncate Log File On SQL Server 2008

by diditho on June 30, 2010

The common T-SQL script to shrink/truncate log file is using the script below 1 2 3 USE [foo] GO DBCC SHRINKFILE(foo_log, 1) But, if the script runs on SQL Server 2008 instance, it will fail. You still have the same (…)

Read the rest of this entry »

Kehabisan Bandwith dan Tren Blog

by diditho on June 28, 2010

Dua bulan terakhir ini saya mendapat kejadian yang cukup mengejutkan. Blog ini kehabisan quota bandwith dua kali (2X). Ketika Blog/website dihost di suatu layanan share hosting atau dedicated hosting (VPS) biasanya perusahaan layanan hosting akan memberikan paket yang memiliki quota (…)

Read the rest of this entry »

CURSOR FETCH on SQL Server

by diditho on June 22, 2010

although CURSOR and FETCH is classified as ‘evil‘ in SQL server, but sometimes we cannot avoid using it. Cause in some scenarios, pivot and other similiar method to perform looping and transformation is not sufficient enough. here’s a link of (…)

Read the rest of this entry »

World Cup tanpa Televisi

by diditho on June 18, 2010

Bagi beberapa orang , tiba di rumah tepat waktu untuk menonton pertandingan Sepak Bola Piala Dunia 2010 adalah hal yang tidak memungkinkan. Bisa jadi ketika pertandingan favorit sedang(akan) berlangsung kita masih berada di kantor, perjalanan atau tempat lain yang tidak (…)

Read the rest of this entry »

Ternyata (Sepertinya) Mas Roy masih SMS-an …

by diditho on June 18, 2010

Ada dua versi berita mengenai percakapan Roy Suryo dan Luna Maya. Pertama diberitakan di www.primaonline.com percakapan tersebut dilakukan melaui BBM. http://primaironline.com/berita/hukum/ini-chat-bbm-roy-suryo-ke-luna-maya-untuk-atur-keterangan Kedua diberitakan di KOMPAS.com percakapan tersebut dilakukan melalui SMS. http://lipsus.kompas.com/topikpilihan/read/2010/06/18/13112099/Kita.Declare.Video.Itu.Palsu… Mana yang benar ya?? Related Posts:Ketika Mas Roy BBM-an (…)

Read the rest of this entry »