login
Forgot?
Login with Facebook

Don't have an account? Register one now!

AutoFix SQL database autimatically (Delphi7)

Bids 
5
Avg Bid
$80 USD
CLOSED
  • Project ID:

    740724
  • Project Type:

    Fixed
  • Budget:

    $30-$250 USD

Project Description:

I need to have my application check the database everytime my application loads. O want it to check the entire schema based on a text document containing all schema information for the database version required by the software version.

i want to automatically generate the schema file.

the application muust then check for errors within the database, for example if an error in the field size occurs i want it to create a script similar to;

;========================================================================
;
; Fri, 16/07/2010 at 23:26:40
;
;========================================================================
;Table CfgMedia
;------------------------------------------------------------------------
;Field [DefName] is wrongly defined
Alter table [CfgMedia] add [AutoFixTemp] VARCHAR(24) NULL
Update [CfgMedia] set [AutoFixTemp] = [DefName]
Alter table [CfgMedia] drop column [DefName]
Alter table [CfgMedia] add [DefName] VARCHAR(24) NULL
Update [CfgMedia] set [DefName] = [AutoFixTemp]
Alter table [CfgMedia] drop column [AutoFixTemp]
;========================================================================
;
; End of script
; Fri, 16/07/2010 at 23:26:42
;
;========================================================================

or if no problems are found then produce a script like

;========================================================================
;
; Fri, 16/07/2010 at 23:26:40
;
;========================================================================
;
; No problems found
;

This is on a very tight budget, but this does need to work;

Basically what i need is;

1) Generate a Schema File for it to compare

2) Check the database against the schema file and if error are found, then automatically create a script to repair the errors.

3) The schema file must have on 1 line the database version so no mistakes can be made where incorrect schemas are processed.

Please help

Thanks

Skills required:

Delphi, SQL

Additional Files:

schema.jpg script.jpg dbcheck.jpg AutoFix.txt

Project posted by:

danielgraham United Kingdom
(0 Reviews)

Last seen:

If you are the project creator or one of the bidders, please Log In for more options.


All Bids ()

qulibin China
qulibin
China From China     Offline
  Foundation EUFreelance.com Member
$200 in 1 day 
$100 Milestone Requested
over 1 year ago
4.5

3.8

1 Review
50% Completion Rate
have 10 years experience, since Delphi5. 8+ years of Delphi7 experience. I can give you appropriate sample work.
vlopes777 Portugal
vlopes777
Portugal From Portugal     Offline
  Foundation EUFreelance.com Member
$50 in 2 days 
0
over 1 year ago
Hi there I'm a programmer for more than 10 years using vb6, sql, pl-sql, crystal reports, and also more than 2 years using vb.net I can do this Count me in
ChicagoBoy Russian Federation
==CIMG1759.JPG
ChicagoBoy
Russian Federation From Russian Federation     Offline
$50 in 10 days 
0
over 1 year ago
I am highly interested in this project.
jackwsun China
jack-id.jpg
jackwsun
China From China     Offline
$50 in 5 days 
$15 Milestone Requested
over 1 year ago
We are interesting.
bestjobs4u India
bestjobs4u
India From India     Offline
  Foundation LimeExchange Member
  Foundation EUFreelance.com Member
$49 in 2 days 
0
over 1 year ago
Hi, Please check pmb. Thanks & regards reddy