|
 |
|
sql - สวัสดีครับ คือว่า ผมอยาก select field+"String" from table |
|
 |
|
|
 |
 |
|
SQL CONCAT
|
 |
 |
 |
 |
Date :
2009-02-06 11:19:13 |
By :
webmaster |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ครับประมาณนั้นคือ อยากรู้ว่า statement มันเป็นอย่างไรนะครับ
ขอบคุณครับ
|
 |
 |
 |
 |
Date :
2009-02-06 11:26:17 |
By :
terngjar |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ผมลองหา Statment ดูแล้วเกือบได้แล้วครับ แต่ติดที่ว่าทำไมค่าที่ออกมันเป็น integer ไม่ออกเป็น String ตามที่ต้องการ
ขอบคุณครับ
|
 |
 |
 |
 |
Date :
2009-02-06 11:40:14 |
By :
terngjar |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
concate คืนค่า เป็นสตริงนะครับ
|
 |
 |
 |
 |
Date :
2009-02-06 12:20:10 |
By :
pjgunner |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ได้แล้ว ขอบคุณครับ T-T เป็นปลื้ม

|
 |
 |
 |
 |
Date :
2009-02-06 12:50:50 |
By :
terngjar |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ดีใจด้วยครับ
|
 |
 |
 |
 |
Date :
2009-02-06 12:52:05 |
By :
pjgunner |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ห้ามคลิ๊ก http://gunner.freetzi.com อย่างเด็ดขาดนะครับ มี virus เยอะมาก ๆๆๆๆ ขอย้ำ เครื่องผมเกือบเจ๊ง
|
 |
 |
 |
 |
Date :
2009-03-20 23:30:51 |
By :
chaimon |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 03
|