Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

One table have many columns
Hi,

In my SQL Server 2000, I would like to write a stored procedure for a
particular table TableZ which has 50 columns, and the stored procedure will
check if a column in a row is changed.
Now comes the problem, since TableZ has so many columns,  and I don't want
to write a LONG stored procedure.  Is there a simpler way for doing this?
Thanks for help.


Jason



Report this thread to moderator Post Follow-up to this message
Old Post
Jason Huang
12-14-06 10:25 AM


Re: One table have many columns
Jason

You would like to know whether  the row in specific column has changed? Take
a look at timestamp daatype as a row version



"Jason Huang" < JasonHuang8888@hotma
il.com> wrote in message
news:u9vcwn1HHHA.3676@TK2MSFTNGP03.phx.gbl...
> Hi,
>
> In my SQL Server 2000, I would like to write a stored procedure for a
> particular table TableZ which has 50 columns, and the stored procedure
> will check if a column in a row is changed.
> Now comes the problem, since TableZ has so many columns,  and I don't want
> to write a LONG stored procedure.  Is there a simpler way for doing this?
> Thanks for help.
>
>
> Jason
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Uri Dimant
12-14-06 10:25 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 10:11 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006