• About us
  • Contact us

Wahana Press

~ build a society that likes to write and read

Wahana Press

Daily Archives: 17 October 2003

How to Search for Date and Time Values Using Microsoft SQL Server 2000

17 Friday Oct 2003

Posted by Immawan Buchori in Database

≈ Leave a Comment

Tags

Contoh Script, Ms. SQL, Pemahaman

Before you can effectively query date/time (or temporal) data, you have to know something about how date/time values are stored. SQL Server supports two date/time data types: datetime and smalldatetime. This article explains in detail the differences between the two, talks about the performance effect of database design on querying, and teaches how to search by time and by time.

by Bryan Syverson, author of  Murach’s SQL for SQL Server

Suppose you’re writing a query to find all the invoices that were written on January 6, 2003. You know from the control totals that 122 invoices were written that day. But when you run this query:

SELECT * FROM Invoices
       WHERE InvoiceDate = '2003-01-06' 
the result set is empty. What’s going on?

How dates and times are stored in SQL Server

Continue reading »

♣ Sewa Server disini “Terbaik dan Handal”

♣ e-Books

  • Databases
  • Programming

♣ Calendar

October 2003
M T W T F S S
« Sep   Dec »
 12345
6789101112
13141516171819
20212223242526
2728293031  

♣ Tag Cloud

Apache Asah Otak ASP Clipper Contoh Program Contoh Script DBF Facebook Fenomena Halo Hari Raya HDD Himbauan Internet Islam Isra' Mi'raj Kebiasaan Kristen Linux Macro Excel Matahari Maulid Modem Motivasi MS. Access Ms.Excel Ms. SQL my Family Pemahaman Pengalaman Pribadi Perbandingan Petunjuk Tehnis Ramadhan Sedekah Sifat Manusia Tahun Baru Themes Tips dan Trick Translate VB Application Visual Basic Visual FoxPro Windows Windows Server World Cup xHarbour

♣ Recent Posts

  • Maulid Nabi Muhammad SAW (12 Rabiul Awal)
  • Selamat Natal Menurut Al-Qur’an
  • Selamat Atas Peringatan Kelahiran Isa Al-Masih Putra Maryam
  • Menyambut 1 Muharram 1433 Hijriyah
  • Orang Pendengki Hakikatnya Telah Menyiksa Dirinya Sendiri
  • Jangan Perkuat Temanmu, Bila Suatu Saat Menjadi Musuh!
  • Selamat Hari Raya Idul Adha 1432 H
  • Selamat Hari Raya Idul Fitri 1432 H
  • Marhaban Yaa Ramadhan
  • Dahsyatnya Sedekah

♣ Recent Comments

Millati Indah on Kupas Tuntas: Fenomena “…
hamba allah on Selamat Natal Menurut Al-…
wawans on Menu “Sharing and Securit…
Immawan Buchori on Install Modem Huawei E1553 di …
mathew on Install Modem Huawei E1553 di …
Immawan Buchori on Selamat Natal Menurut Al-…
mardiantonnton on Selamat Natal Menurut Al-…
Ali on Sebuah Renungan tentang K…
Immawan Buchori on VB: Ambil Data Excel dengan DA…
travelumbroh on VB: Ambil Data Excel dengan DA…

♣ Archives

Top Posts

  • Kupas Tuntas: Fenomena "Halo" Matahari
  • VB: Cari Data dalam DataGrid
  • Menu “Sharing and Security” Hilang
  • Visual Basic 2008 Samples
  • VB: ComboBox didalam DBGrid
  • Import Database Access ke SQL Server (UpSizing)
  • Dahsyatnya Sedekah
  • VB: Round Integer (Updated)
  • Peradaban Islam: Masa Lalu Nan Cemerlang
  • VB: Control TextBox Khusus Angka

Authors

Category Cloud

Alam Database e-Book Hardware Hikayat Jejaring Sosial Keagamaan Microsoft Office Network Operating System Pemrogramman Permainan Personal Security / Anti-Virus Tools Web / Server Wordpress

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.com

Blog at WordPress.com. Theme: Chateau by Ignacio Ricci.