Click here to Skip to main content
15,894,180 members
Home / Discussions / Database
   

Database

 
QuestionUpdate DataSet Pin
Zeeshan Gulzar3-Sep-05 4:15
Zeeshan Gulzar3-Sep-05 4:15 
AnswerRe: Update DataSet Pin
Besinci4-Sep-05 9:38
Besinci4-Sep-05 9:38 
GeneralRe: Update DataSet Pin
Zeeshan Gulzar6-Sep-05 5:51
Zeeshan Gulzar6-Sep-05 5:51 
QuestionVB and remote database(web) Pin
aluizs2-Sep-05 18:03
aluizs2-Sep-05 18:03 
Questioninset a Datacolumn Pin
PaulaM2-Sep-05 3:23
PaulaM2-Sep-05 3:23 
AnswerRe: inset a Datacolumn Pin
Besinci2-Sep-05 9:37
Besinci2-Sep-05 9:37 
Questionupdating the DB Pin
minkinin2-Sep-05 3:16
minkinin2-Sep-05 3:16 
AnswerRe: updating the DB Pin
Besinci2-Sep-05 10:04
Besinci2-Sep-05 10:04 
Good luck hehe Smile | :)

You have to automate this somehow.. but don't panic.. I assume it's a SQL-database you are using.

1. you have to traverse all tables for your purpose.. tablenames is stored in the sysobject table.
2. for each table you have to fire ALTER table sql statement.. syntaxt is as following..

sample....

Examples
A. Alter a table to add a new column
This example adds a column that allows null values and has no values provided through a DEFAULT definition. Each row will have a NULL in the new column.

ALTER TABLE doc_exa ADD column_b VARCHAR(20) NULL

B. Alter a table to drop a column
This example modifies a table to remove a column.

ALTER TABLE doc_exb DROP COLUMN column_b

C. Alter a table to add a column with a constraint
This example adds a new column with a UNIQUE constraint.

ALTER TABLE doc_exc ADD column_b VARCHAR(20) NULL
CONSTRAINT exb_unique UNIQUE


GeneralRe: updating the DB Pin
minkinin4-Sep-05 20:20
minkinin4-Sep-05 20:20 
GeneralRe: updating the DB Pin
Besinci4-Sep-05 21:24
Besinci4-Sep-05 21:24 
GeneralRe: updating the DB Pin
minkinin4-Sep-05 22:27
minkinin4-Sep-05 22:27 
GeneralRe: updating the DB Pin
Besinci5-Sep-05 7:49
Besinci5-Sep-05 7:49 
GeneralRe: updating the DB Pin
minkinin6-Sep-05 23:38
minkinin6-Sep-05 23:38 
QuestionI need to load custom data to Analysis Server (MS-OLAP) without going through any OLE DB Provider. Pin
kuldeepjangir2-Sep-05 3:13
kuldeepjangir2-Sep-05 3:13 
QuestionSqlDataAdapter question.. What.... Pin
Besinci2-Sep-05 2:40
Besinci2-Sep-05 2:40 
AnswerRe: SqlDataAdapter question.. What.... Pin
Luis Alonso Ramos2-Sep-05 17:26
Luis Alonso Ramos2-Sep-05 17:26 
GeneralRe: SqlDataAdapter question.. What.... Pin
Besinci3-Sep-05 2:06
Besinci3-Sep-05 2:06 
GeneralRe: SqlDataAdapter question.. What.... Pin
Luis Alonso Ramos3-Sep-05 6:28
Luis Alonso Ramos3-Sep-05 6:28 
QuestionDatabinding Problem In My UserControl Pin
User 20930732-Sep-05 2:39
User 20930732-Sep-05 2:39 
QuestionI want to add,delete,save my project ... Pin
mostafa_h1-Sep-05 23:07
mostafa_h1-Sep-05 23:07 
QuestionHow will I know that DSN is not pointing to any database? Pin
PrashantJ1-Sep-05 21:17
PrashantJ1-Sep-05 21:17 
AnswerRe: How will I know that DSN is not pointing to any database? Pin
Michael Potter2-Sep-05 5:25
Michael Potter2-Sep-05 5:25 
QuestionData Isolation and Transaction Isolation Pin
devvvy1-Sep-05 17:37
devvvy1-Sep-05 17:37 
AnswerRe: Data Isolation and Transaction Isolation Pin
airbus3801-Sep-05 22:14
airbus3801-Sep-05 22:14 
GeneralRe: Data Isolation and Transaction Isolation Pin
devvvy1-Sep-05 22:21
devvvy1-Sep-05 22:21 

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.