Calendar

July 2010
S M T W T F S
« Jun    
 123
45678910
11121314151617
18192021222324
25262728293031

SQL Change column name in table

Using the Query Analyzer may not be the right way always, you can use the SQL syntax as given below, if you are unable to have access to use the query analyzer
For Oracle 9i, the syntax is :
ALTER TABLE table_name
RENAME COLUMN old_name to new_name;
For Microsoft SQL the syntax is :
EXEC sp_rename ‘Table.[OldColumnName]‘, NewColumnName, ‘COLUMN’
*Note here [...]

Derby vs Sqlite

ตอนแรกก็กะว่าจะลองเองว่า derby กับ sqlite ความเร็วมันต่างกันแค่ไหน อะไรเหมาะสมกว่ากันถ้าจะเขียน java แล้วอยากได้ database เล็กๆ ก็เลยมอง derby และ sqlite เอาไว้ ก็เลยลองไปหาข้อมูล แล้วก็เจอเจ้านี่เข้า

Personally, I think there’s no comparison between Derby and SQLite.
Derby’s an actual database with “all” the bells and whistles, but still
a really compact size. SQLite is an extremely fast database-like system
with a much smaller subset of features and SQL [...]