Click here to Skip to main content
15,914,109 members
Home / Discussions / Database
   

Database

 
QuestionBulk copy on Sql mobile 2005 Pin
Filip Landr2-Jan-07 21:14
Filip Landr2-Jan-07 21:14 
QuestionSQL Query not work Pin
jaganil2-Jan-07 21:12
jaganil2-Jan-07 21:12 
AnswerRe: SQL Query not work Pin
Elina Blank3-Jan-07 3:32
sitebuilderElina Blank3-Jan-07 3:32 
AnswerRe: SQL Query not work Pin
ChandraRam3-Jan-07 23:16
ChandraRam3-Jan-07 23:16 
QuestionMs-Sql data optimization Pin
vijaymuthu2-Jan-07 18:59
vijaymuthu2-Jan-07 18:59 
AnswerRe: Ms-Sql data optimization Pin
Pete O'Hanlon2-Jan-07 22:27
mvePete O'Hanlon2-Jan-07 22:27 
QuestionSet default database and log locations in SQL Server Management Studio Express Pin
kani982-Jan-07 13:11
kani982-Jan-07 13:11 
QuestionScript/tool to update schema of my database when the latest_schema script is provided Pin
PrashantJ2-Jan-07 5:10
PrashantJ2-Jan-07 5:10 
Hi All,

I want to write a script/tool which would update the schema of the existing database (in SQL Server 2005)
i.e Add/drop a table, column, constraint etc. on a ongoing basis.

The input to my tool would be the latest_schema script which creates the database with all the latest tables, columns, constraints etc.
So the tool that I am going to write should perform a schema-diff with my db Vs the script provided and add/drop the tables, cols, constraints on my database.

I have a couple of solutions in my mind but feel that they are not very efficient.
1. Create a new database running the provided script, write a stored procedure to loop thro all the tables to figure out the diff between the existing db and the current db and update the current db: Problem here is my current db has data and lots of constraints, which might pose a problem.
2. Use some third party tools to generate the sync script and execute it against my current db but I am not sure about the free tools available out there.

Can somebody please provide me some guidelines/tips on how to go ahead about this.

Thanks in advance.
PJ
QuestionRegarding dataset Pin
Member 22045442-Jan-07 4:14
Member 22045442-Jan-07 4:14 
AnswerRe: Regarding dataset Pin
Pete O'Hanlon2-Jan-07 4:42
mvePete O'Hanlon2-Jan-07 4:42 
QuestionRetrieve Table names from Access database? Pin
kbalias2-Jan-07 1:19
kbalias2-Jan-07 1:19 
AnswerRe: Retrieve Table names from Access database? Pin
Paul Conrad2-Jan-07 7:34
professionalPaul Conrad2-Jan-07 7:34 
AnswerRe: Retrieve Table names from Access database? Pin
PIEBALDconsult3-Jan-07 10:49
mvePIEBALDconsult3-Jan-07 10:49 
QuestionDeploy StoredProcedures written in C#/.NET Pin
FreeCastle2-Jan-07 0:11
FreeCastle2-Jan-07 0:11 
AnswerRe: Deploy StoredProcedures written in C#/.NET Pin
Pete O'Hanlon2-Jan-07 4:47
mvePete O'Hanlon2-Jan-07 4:47 
GeneralRe: Deploy StoredProcedures written in C#/.NET Pin
FreeCastle2-Jan-07 5:43
FreeCastle2-Jan-07 5:43 
GeneralRe: Deploy StoredProcedures written in C#/.NET Pin
Pete O'Hanlon2-Jan-07 9:54
mvePete O'Hanlon2-Jan-07 9:54 
GeneralRe: Deploy StoredProcedures written in C#/.NET Pin
FreeCastle2-Jan-07 22:23
FreeCastle2-Jan-07 22:23 
GeneralRe: Deploy StoredProcedures written in C#/.NET Pin
Pete O'Hanlon2-Jan-07 22:54
mvePete O'Hanlon2-Jan-07 22:54 
GeneralRe: Deploy StoredProcedures written in C#/.NET Pin
FreeCastle5-Jan-07 9:11
FreeCastle5-Jan-07 9:11 
QuestionHow to create trigger Pin
Sasmi2-Jan-07 0:08
Sasmi2-Jan-07 0:08 
AnswerRe: How to create trigger Pin
Pete O'Hanlon2-Jan-07 2:25
mvePete O'Hanlon2-Jan-07 2:25 
QuestionPL-SQL Command. Pin
Tuwing.Sabado1-Jan-07 20:35
Tuwing.Sabado1-Jan-07 20:35 
AnswerRe: PL-SQL Command. Pin
PIEBALDconsult3-Jan-07 10:51
mvePIEBALDconsult3-Jan-07 10:51 
QuestionDatabase module in DLL?? Pin
mothewizard1-Jan-07 9:56
mothewizard1-Jan-07 9:56 

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.