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

Locating recently edited tables
Hi

Pop quiz: Let's say a user types in "Pennsylvania Av." in his customer
application. This application keeps its data in a SQL 2000 database.

What would be the easiest way for me to figure out which table got updated
with the "Pennsylvania Av." string?`

I don't care whether the solution is to change some view settings in my SQL
GUI or if I can write some t-sql code and output the solution for me, I just
need to figure out where the application stores the darn addresses.

Thanks in advance for any input
Ib



Report this thread to moderator Post Follow-up to this message
Old Post
Ib Schrader
12-14-06 12:12 AM


Re: Locating recently edited tables
Use Profiler. You can catch the SQL statements submitted by the app. You can
 even catch the
execution plan and from that determine what tables were hit (if that approac
h is better than working
with the SQL submitted).

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www. solidqualitylearning
.com/


"Ib Schrader" <ibschrader@gmail.com> wrote in message news:ez2gcoqHHHA.1248@TK2MSFTNGP02.ph
x.gbl...
> Hi
>
> Pop quiz: Let's say a user types in "Pennsylvania Av." in his customer app
lication. This
> application keeps its data in a SQL 2000 database.
>
> What would be the easiest way for me to figure out which table got updated
 with the "Pennsylvania
> Av." string?`
>
> I don't care whether the solution is to change some view settings in my SQ
L GUI or if I can write
> some t-sql code and output the solution for me, I just need to figure out 
where the application
> stores the darn addresses.
>
> Thanks in advance for any input
> Ib
>



Report this thread to moderator Post Follow-up to this message
Old Post
Tibor Karaszi
12-14-06 12:12 AM


Re: Locating recently edited tables
Ib

Do you store "Pennsylvania Av." value in many tables?

"Ib Schrader" <ibschrader@gmail.com> wrote in message
news:ez2gcoqHHHA.1248@TK2MSFTNGP02.phx.gbl...
> Hi
>
> Pop quiz: Let's say a user types in "Pennsylvania Av." in his customer
> application. This application keeps its data in a SQL 2000 database.
>
> What would be the easiest way for me to figure out which table got updated
> with the "Pennsylvania Av." string?`
>
> I don't care whether the solution is to change some view settings in my
> SQL GUI or if I can write some t-sql code and output the solution for me,
> I just need to figure out where the application stores the darn addresses.
>
> Thanks in advance for any input
> Ib
>



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


Re: Locating recently edited tables
"Uri Dimant" <urid@iscar.co.il> wrote in message
news:uVUvutqHHHA.3676@TK2MSFTNGP03.phx.gbl...
> Ib
>
> Do you store "Pennsylvania Av." value in many tables?

I don't know that. The exercise is to locate which tables got updated by the
application. I don't know how many that is, but I suspect it's just one
table that stores the data.

Thanks for the profiler idea..I'll look into that.

Ib



Report this thread to moderator Post Follow-up to this message
Old Post
Ib Schrader
12-14-06 12:12 AM


Re: Locating recently edited tables
The profiler helped me catch which table got updated.

Thank you very much.
Ib



Report this thread to moderator Post Follow-up to this message
Old Post
Ib Schrader
12-14-06 12:12 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:02 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006