Andrew Shlykov
dowen
> Andrew Shlykov
> > When I do sp_what, I can see that particular query is doing an
update or
> > insert (whatever...)
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Hope this will help
Alexy
exec sp_role 'grant','sybase_ts_role',sa
go
dbcc traceon(3604)
go
dbcc pss(<suid>,<spid>,<0,1>)
go
where <suid> is server login id, <spid> is server process id, and
0=print header info including SQL Text of last command sent, and
1=include among other things, the current query plan.
The usual caveats apply about "dbcc pss" being an "unsupported" feature,
and others have said it crashes their servers. I've been doing this for
years without any troubles...
> When I do sp_what, I can see that particular query is doing an update or
> insert (whatever...)
> The question is : How can I see actual query text during runtime (it
> should be some place in the memory!).
> Example: someone starts: insert <table_name>
> values (......). How can
> I see that query during runtime?
> Thanks.
> exec sp_role 'grant','sybase_ts_role',sa
> go
> dbcc traceon(3604)
> go
> dbcc pss(<suid>,<spid>,<0,1>)
> go
> where <suid> is server login id, <spid> is server process id, and
> 0=print header info including SQL Text of last command sent, and
> 1=include among other things, the current query plan.
> The usual caveats apply about "dbcc pss" being an "unsupported" feature,
> and others have said it crashes their servers. I've been doing this for
> years without any troubles...
> > When I do sp_what, I can see that particular query is doing an update or
> > insert (whatever...)
> > The question is : How can I see actual query text during runtime (it
> > should be some place in the memory!).
> > Example: someone starts: insert <table_name>
> > values (......). How can
> > I see that query during runtime?
> > Thanks.
> exec sp_role 'grant','sybase_ts_role',sa
> go
> dbcc traceon(3604)
> go
> dbcc pss(<suid>,<spid>,<0,1>)
> go
> where <suid> is server login id, <spid> is server process id, and
> 0=print header info including SQL Text of last command sent, and
> 1=include among other things, the current query plan.
> The usual caveats apply about "dbcc pss" being an "unsupported" feature,
> and others have said it crashes their servers. I've been doing this for
> years without any troubles...
> > When I do sp_what, I can see that particular query is doing an update or
> > insert (whatever...)
> > The question is : How can I see actual query text during runtime (it
> > should be some place in the memory!).
> > Example: someone starts: insert <table_name>
> > values (......). How can
> > I see that query during runtime?
> > Thanks.
> exec sp_role 'grant','sybase_ts_role',sa
> go
> dbcc traceon(3604)
> go
> dbcc pss(<suid>,<spid>,<0,1>)
> go
> where <suid> is server login id, <spid> is server process id, and
> 0=print header info including SQL Text of last command sent, and
> 1=include among other things, the current query plan.
> The usual caveats apply about "dbcc pss" being an "unsupported" feature,
> and others have said it crashes their servers. I've been doing this for
> years without any troubles...
> > When I do sp_what, I can see that particular query is doing an update or
> > insert (whatever...)
> > The question is : How can I see actual query text during runtime (it
> > should be some place in the memory!).
> > Example: someone starts: insert <table_name>
> > values (......). How can
> > I see that query during runtime?
> > Thanks.
1. ? text file format i have seen?
VB5 program i have seen reads from text file that looks like this:
<Title>Database Design
Some Paragraph would go here.
<End>
<Title>Then it repeats
Any ideas on how to write code that can read from a file in this manner?
I'm a newbie so examples would help. Please post response.
Thanks,
Enoemos
2. Creating a month by month report
3. Text box seen throghout the application
5. Please help...INSERT INTO QUERY using a query def as the source
6. RPC question
7. Seeing saved queries in secured Access database
8. How do I capture the NT User ID
9. Update query using joined query as source
10. MDX : Canned Report or OLAP
11. Anyone know of some canned (cheap or free) DB performance testing software
12. canned code to get db on web quickly via perl or
13. Cans access2.0 engine access btrieve files?