473,396 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Tool to chase down the consequences of adding field to DB tables?

Hi all,

I'm tasked with adding a few fields to our database, and all of the
stuff that goes along with it (updating c# UI code, etc.). The
database is a few hundred tables, with all of the procs, logic code,
etc. that goes along with it.

The consequences (i.e. what breaks) of adding a new field should be
largely predictable from the current structure, along with the fields
to be added. Anybody know of a tool that will tell me this? Or do I
need to just ctrl-f (search) my way through the table names, and do
this manually?

Thanks for any bright ideas,

cdj
Jun 27 '08 #1
1 1410
sherifffruitfly (sh*************@gmail.com) writes:
I'm tasked with adding a few fields to our database, and all of the
stuff that goes along with it (updating c# UI code, etc.). The
database is a few hundred tables, with all of the procs, logic code,
etc. that goes along with it.

The consequences (i.e. what breaks) of adding a new field should be
largely predictable from the current structure, along with the fields
to be added. Anybody know of a tool that will tell me this? Or do I
need to just ctrl-f (search) my way through the table names, and do
this manually?
If you only add nullable columns, nothing should break, at least not
if the application is coded properly.

If you add columns that are not null and without a default value, or if you
drop or rename column, you will of course have to find out where to change
things.

Provided that you have all source code on files (include the stored
procedures), you can search all files at once with a tool that can search
in files. Many text editors provide this capability, for instance TextPad.

If you have all your table reference in stored procedures, you can search
directly in SQL Server, but this is a little tricky if you are on SQL 2000.
On SQL 2005 you can search the object_definition column in sys.sql_modules.

--
Erland Sommarskog, SQL Server MVP, es****@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: ehm | last post by:
I am working on creating an editable grid (for use in adding, deleting, and editing rows back to an Oracle database). I have a JSP that posts back to a servlet, which in turns posts to a WebLogic...
11
by: Bobbak | last post by:
Hello All, I have these tables (lets call it ‘EmpCalls', ‘EmpOrders', and ‘Stats') that each contain the list of EmployeeIDs, I want to be able to create a Module in which I could call in my VB...
1
by: Tony D. | last post by:
I could really use some help with a problem I am having. I am trying to add a new field to an existing form that combines two tables into one form. In this same databse I have another form that...
5
by: Sami | last post by:
Please bear with me, and if you answer this question, please do it step by step. I am new at Access, not at all sophisticated. I am using Office XP. This will need to be read in Access for...
2
by: kmnotes04 | last post by:
Is it possible to link one drop-down box to another? For example, if a name is chosen from a drop-down list, can another drop-down list then automatically display the person's office as a result of...
3
by: Tina | last post by:
Does anyone know of an asp.net general purpose table editing tool that will allow users to add modify and delete data? Thanks, T
12
by: Art | last post by:
Hi everyone I was hoping someone might be able to help me with this. I'm just starting to try to work with MS Access tables through VB.net. In Access I can take an existing table and add a new...
6
by: Rudy | last post by:
Hi all, I know this is easy, just can't seem to get it. I have a windows form, and a text box, with a value already in it. I need to add that value to a table. It's just one value, so the entire...
0
by: janise | last post by:
HI to all, I am a novoice developer for XML and XSLT. I need to know how to develop a tool which generates XSLT files. These tool must contain following forms in it... 1.It must contain two...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.