151
การเขียน SQL Script / Re: sql วันละคำ กับ perjer
« เมื่อ: ธันวาคม 12, 2007, 20:03:22 PM »![ยิงฟันยิ้ม ;D](https://hosxp.net/smf2/Smileys/default/grin.gif)
![ยิงฟันยิ้ม ;D](https://hosxp.net/smf2/Smileys/default/grin.gif)
![ยิงฟันยิ้ม ;D](https://hosxp.net/smf2/Smileys/default/grin.gif)
![ยิงฟันยิ้ม ;D](https://hosxp.net/smf2/Smileys/default/grin.gif)
มีอีกอย่างที่อยากบอกเป็นของฝากนักกอร์ฟแล้วกัน
คือ นั่นคือ "" กับ null (ค่าว่าง กับ null) สองอันนี้ต้องขอบอกว่ามันต่างกันอะครับ อย่างเช่น
select count(*) from from ovst where doctor = "" อาจจะได้ค่าไม่เท่ากับ
select count(*) from from ovst where doctor is null นะจะบอกให้