Click here to Skip to main content
15,895,746 members
Home / Discussions / Database
   

Database

 
GeneralRe: Autonumber Fields Pin
polishprogrammer7-Dec-07 4:50
polishprogrammer7-Dec-07 4:50 
GeneralWhich Datatype is better Bit or tiny int? SQL Server 2005 Pin
Rocky#7-Dec-07 3:47
Rocky#7-Dec-07 3:47 
GeneralRe: Which Datatype is better Bit or tiny int? SQL Server 2005 Pin
pmarfleet7-Dec-07 10:04
pmarfleet7-Dec-07 10:04 
GeneralRe: Which Datatype is better Bit or tiny int? SQL Server 2005 Pin
Mark Churchill7-Dec-07 14:52
Mark Churchill7-Dec-07 14:52 
GeneralRe: Which Datatype is better Bit or tiny int? SQL Server 2005 Pin
Rocky#7-Dec-07 22:37
Rocky#7-Dec-07 22:37 
GeneralRe: Which Datatype is better Bit or tiny int? SQL Server 2005 Pin
Rocky#7-Dec-07 22:34
Rocky#7-Dec-07 22:34 
GeneralRe: Which Datatype is better Bit or tiny int? SQL Server 2005 Pin
Mike Dimmick9-Dec-07 6:51
Mike Dimmick9-Dec-07 6:51 
GeneralAutomatically update database defintion Pin
polishprogrammer7-Dec-07 3:35
polishprogrammer7-Dec-07 3:35 
I have some software that relies on an MS Access database, both to supply the parameters for various tests and to store the results of those tests. This software is rapidly undergoing revision, however, and each new revision often has a change in the defintion of the database that is supplied with the software.

For current customers, I want to be able to supply the update without losing any of their existing data. Typically, I do not delete fields from tables, or tables from the database (nor do I change names of fields or tables), so all changes are additions, necessary additions as the scope of the program changes.

Now, I can "hard code" in the creation of tables or addition of fields to each new revision, but I'd rather have some automated method of creating tables and adding fields, as needed. Right now, I can detect and respond to a new version of the software, but I'm seeking the most efficient response to the version change. Here is my idea, along with some questions.

1) Get number of tables in newer version of database and compare to previous version-add tables as needed

Is there a SQL command that will return the data table count?

2) Scan through each table to detect if there are any changes in the table definition for each table...add fields, as needed

Any suggestions would be appreciated.
QuestionData Regions within table/matrix cells are ignored Pin
praveenkjohn6-Dec-07 23:35
praveenkjohn6-Dec-07 23:35 
AnswerRe: Data Regions within table/matrix cells are ignored Pin
Saurabh09520-Oct-11 21:50
Saurabh09520-Oct-11 21:50 
General[Message Deleted] Pin
SreejithAchutan6-Dec-07 19:06
SreejithAchutan6-Dec-07 19:06 
GeneralRe: Check Condition Pin
Colin Angus Mackay7-Dec-07 1:08
Colin Angus Mackay7-Dec-07 1:08 
GeneralRe: Check Condition Pin
SreejithAchutan7-Dec-07 17:45
SreejithAchutan7-Dec-07 17:45 
GeneralRe: Check Condition Pin
Colin Angus Mackay8-Dec-07 0:43
Colin Angus Mackay8-Dec-07 0:43 
Generalneed solution for converting the varchar value to int ** Pin
VenkataRamana.Gali6-Dec-07 18:58
VenkataRamana.Gali6-Dec-07 18:58 
GeneralRe: need solution for converting the varchar value to int ** Pin
Krish - KP6-Dec-07 19:33
Krish - KP6-Dec-07 19:33 
GeneralRe: need solution for converting the varchar value to int ** Pin
VenkataRamana.Gali6-Dec-07 19:46
VenkataRamana.Gali6-Dec-07 19:46 
GeneralRe: need solution for converting the varchar value to int ** Pin
Paddy Boyd7-Dec-07 0:39
Paddy Boyd7-Dec-07 0:39 
GeneralRe: need solution for converting the varchar value to int ** Pin
Krish - KP7-Dec-07 3:13
Krish - KP7-Dec-07 3:13 
QuestionProblem while accessing the sqlserver2005 in c# Pin
mohanallam6-Dec-07 17:36
mohanallam6-Dec-07 17:36 
GeneralRe: Problem while accessing the sqlserver2005 in c# Pin
pmarfleet6-Dec-07 21:08
pmarfleet6-Dec-07 21:08 
GeneralRe: Problem while accessing the sqlserver2005 in c# Pin
suyuan19846-Dec-07 23:09
suyuan19846-Dec-07 23:09 
QuestionDifference between SQL-Agent and SQL-QA when executing a SP Pin
asrs636-Dec-07 15:01
asrs636-Dec-07 15:01 
GeneralRe: Difference between SQL-Agent and SQL-QA when executing a SP Pin
Marek Grzenkowicz6-Dec-07 21:35
Marek Grzenkowicz6-Dec-07 21:35 
Questionlocal sql server database not updating Pin
webster.ut6-Dec-07 9:44
webster.ut6-Dec-07 9:44 

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.