If it is modifying the database all the time i would seriously question the process - seems to be a tad strange.
Quoting Andrew Scott <[EMAIL PROTECTED]>: > Hi all, > > I have some code that maintains a database, and this code modifies the > database through coldfusion. I have a scenario where we are doing this that > often that I want to sync the development database and production database > in some cases when this is done. > > Is it possible to be able to generate the following via script in anyway > possible. > > CREATE TABLE [dbo].[arRates] > ( > [RateCode] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, > [Description] [varchar] (80) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, > [Rate] [numeric] (9, 2) NOT NULL > ) > > This is maybe not the best example as the table didn't exist in this case. I > am able to find the right system tables but would like to know of anyone who > might be able to help convert these numbers from the system tables to the > above script. For alteration and creation etc. > > Hope I made sense, I realise I could setup the database in SQL to do this > but I am looking at a solution that anyone can add to the development and > when happy sync through a control panel situation. > > > Regards > Andrew Scott > Technical Consultant > > NuSphere Pty Ltd > Level 2/33 Bank Street > South Melbourne, Victoria, 3205 > > Phone: 03 9686 0485 - Fax: 03 9699 7976 > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Protect Your PC from viruses, hackers, spam and more. Buy PC-cillin with Easy Installation & Support http://www.houseoffusion.com/banners/view.cfm?bannerid=61 Message: http://www.houseoffusion.com/lists.cfm/link=i:6:2197 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/6 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:6 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.6 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
