Ethereal-users: RE: [Ethereal-users] TDS/SQL Extract

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Petr Vácha <vacha@xxxxxxxxxxx>
Date: Fri, 24 Feb 2006 14:45:27 +0100
SQL is sent as 16 bit unicode, that's why you see that null byte after each character, it's not a separator.

> -----Original Message-----
> From: ethereal-users-bounces@xxxxxxxxxxxx 
> [mailto:ethereal-users-bounces@xxxxxxxxxxxx] On Behalf Of 
> Davis, Jeffrey
> Sent: Friday, February 24, 2006 4:54 AM
> To: ethereal-users@xxxxxxxxxxxx
> Subject: [Ethereal-users] TDS/SQL Extract
> 
> I'm able to decode TDS packets using Ethereal and see the SQL 
> statements - but each character in the SQL statement looks 
> like it's separated by a NULL - which makes it hard to read 
> or pull out for further analysis.  What I really want is to 
> be able to simply extract all of the SQL statements to a flat file...
> 
>  
> 
> Help?
> 
>