Click here to Skip to main content
16,014,294 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to -" Pin
skoizumi291101-Jun-04 14:54
sussskoizumi291101-Jun-04 14:54 
AnswerRe: how to -" Pin
Dave Kreskowiak2-Jun-04 3:04
mveDave Kreskowiak2-Jun-04 3:04 
GeneralRe: how to -" Pin
soul.ripper2-Jun-04 10:28
soul.ripper2-Jun-04 10:28 
GeneralRe: how to -" Pin
Dave Kreskowiak2-Jun-04 12:10
mveDave Kreskowiak2-Jun-04 12:10 
GeneralRe: how to -" Pin
soul.ripper3-Jun-04 6:29
soul.ripper3-Jun-04 6:29 
GeneralRe: how to -" Pin
Dave Kreskowiak3-Jun-04 12:17
mveDave Kreskowiak3-Jun-04 12:17 
QuestionHow can I insert a new column in database table at the desired place? Pin
ATC1-Jun-04 11:33
ATC1-Jun-04 11:33 
AnswerRe: How can I insert a new column in database table at the desired place? Pin
Dave Kreskowiak2-Jun-04 2:56
mveDave Kreskowiak2-Jun-04 2:56 
Although the documentation on ALTER TABLE says it doesn't support what you want to do, you might want to try adding a BEFORE fieldname to the statement.
ALTER TABLE Invoice ADD COLUMN " & taxName.Text & " currency BEFORE <fieldname>

If that doesn't work, and I don't think it will Wink | ;) you could get around this by following these steps:
1. Rename that table.
2. Create a new table with the same fields as the original with all the sametriggers, constraints, ...
   But when you create the columns, create them in order and create the new column when appropriate.
3. Copy the data to the new table.
4. Delete the old table.

This is the approximate procedure that the Enterprise Manager uses to do the same thing you are. This is so you can make a bunch of changes all at once. The EM won't commit the changes and create the new table until after you hit OK.



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: How can I insert a new column in database table at the desired place? Pin
ATC2-Jun-04 5:15
ATC2-Jun-04 5:15 
AnswerRe: How can I insert a new column in database table at the desired place? Pin
^eleK2-Jun-04 9:23
^eleK2-Jun-04 9:23 
QuestionHow to catch all that is doing on a computer Pin
marclenoir20051-Jun-04 11:22
marclenoir20051-Jun-04 11:22 
AnswerRe: How to catch all that is doing on a computer Pin
Dave Kreskowiak2-Jun-04 2:37
mveDave Kreskowiak2-Jun-04 2:37 
GeneralLet's make it more simple. Pin
Anonymous2-Jun-04 10:31
Anonymous2-Jun-04 10:31 
GeneralRe: Let's make it more simple. Pin
Dave Kreskowiak2-Jun-04 12:06
mveDave Kreskowiak2-Jun-04 12:06 
GeneralMimic rtlMoveMemory for Speed Pin
Pugman8121-Jun-04 9:42
Pugman8121-Jun-04 9:42 
GeneralRe: Mimic rtlMoveMemory for Speed Pin
Dave Kreskowiak1-Jun-04 15:22
mveDave Kreskowiak1-Jun-04 15:22 
Generalwinsock error Pin
GaryKoh1-Jun-04 4:24
GaryKoh1-Jun-04 4:24 
GeneralRe: winsock error Pin
Dave Kreskowiak1-Jun-04 4:31
mveDave Kreskowiak1-Jun-04 4:31 
GeneralRe: winsock error Pin
GaryKoh1-Jun-04 5:24
GaryKoh1-Jun-04 5:24 
GeneralRe: winsock error Pin
Dave Kreskowiak1-Jun-04 5:53
mveDave Kreskowiak1-Jun-04 5:53 
GeneralRe: winsock error Pin
GaryKoh1-Jun-04 7:32
GaryKoh1-Jun-04 7:32 
GeneralRe: winsock error Pin
Dave Kreskowiak1-Jun-04 14:58
mveDave Kreskowiak1-Jun-04 14:58 
GeneralRe: winsock error Pin
GaryKoh1-Jun-04 20:45
GaryKoh1-Jun-04 20:45 
GeneralRe: winsock error Pin
Dave Kreskowiak2-Jun-04 0:30
mveDave Kreskowiak2-Jun-04 0:30 
GeneralRe: winsock error Pin
GaryKoh2-Jun-04 14:48
GaryKoh2-Jun-04 14:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.