Geeks Talk

Prepare for your Next Interview




Sql Scripts

This is a discussion on Sql Scripts within the SQL Server forums, part of the Databases category; Hi all, i'm updating a new 'common management' software n i wanna update the database bcoz i added many extra tables. i did write scripts for all the tables ...


Go Back   Geeks Talk > Databases > SQL Server

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-05-2008
Junior Member
 
Join Date: Jun 2008
Location: Lebanon
Posts: 12
Thanks: 1
Thanked 2 Times in 2 Posts
ronaldrahme is on a distinguished road
Sql Scripts

Hi all,
i'm updating a new 'common management' software n i wanna update the database bcoz i added many extra tables.
i did write scripts for all the tables this way:

Create...........
Drop...........
Alter........

so our clients would be able to have access to it.
but i have been asked to write other ways script than using 'alter', becoz its like im having the database for the first time and our clients have the older version...
Any Ideas??

10x in advance

Last edited by ronaldrahme : 06-05-2008 at 05:43 AM. Reason: not so clear
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-06-2008
Moderator
 
Join Date: Jun 2007
Location: Bangalore,India
Posts: 1,369
Thanks: 7
Thanked 123 Times in 111 Posts
debasisdas will become famous soon enoughdebasisdas will become famous soon enough
Re: Sql Scripts

if you need to change the structure then you have to use ALTER.
you can create a different database from the existing ,make the changes and finally redirect the application to the new database.
Reply With Quote
Reply

  Geeks Talk > Databases > SQL Server


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
An example of QTP scripts sksubhanandan QTP 2 03-04-2008 12:16 AM
ETL Scripts without using any tools mailtos.ravi Data Warehousing 0 02-16-2008 01:36 AM
QTP scripts Shwe30 QTP 19 12-11-2007 07:09 AM
Winrunner scripts shwetaabz WinRunner 3 10-20-2007 02:55 AM
QTP Scripts in S Drive Geek_Guest QTP 0 09-28-2007 05:59 PM


All times are GMT -4. The time now is 05:15 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved