x

truncated data

Investigate the cause of table blah_blah being truncated, not deleted on a daily basis. The time it happened this morning was after 2.44 am CT and 12noon CT. I ran a trace for 1hour which started at 2.20 am CT and saved it to a table in my local database. how do i filter the truncated information from the trace table with a where clause?
more ▼

asked Jul 14 '12 at 07:02 PM in Default

aleogho gravatar image

aleogho
0 1 1 1

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

Simply select on the TextData column

select * from YourTable where textdata like '%truncate%'
more ▼

answered Jul 14 '12 at 07:35 PM

Kev Riley gravatar image

Kev Riley ♦♦
50.7k 43 49 76

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x11
x4

asked: Jul 14 '12 at 07:02 PM

Seen: 511 times

Last Updated: Jul 14 '12 at 07:35 PM