>> it might even help the DB with the query plans

really?



On Thu, Apr 9, 2009 at 8:54 PM, Ken Egozi <[email protected]> wrote:

> The DB engine can read it just fine.
>
> actually some claim that it might even help the DB with the query plans.
>
> there are all kinds of SQL formatters you can use to post process the SQL
> logs if you have to.
>
>
>
>
> On Thu, Apr 9, 2009 at 2:50 PM, Yaojian <[email protected]> wrote:
>
>> Hi,
>>
>> I am new to NHibernate.
>>
>> NHibernate uses alias for all table/column names in the generated sql:
>>
>>
>> SELECT dafpack0_.ID as ID0_0_, dafpack0_.Name as Name0_0_, 
>> dafpack0_.ContainerPackID as Containe3_0_0_ FROM MDA_SYS.MDA_SV_Pack 
>> dafpack0_ WHERE dafpack0_....@p0; @p0 = 
>> '4ad84beb-8f5a-46f5-a078-f3234a3f69e2'
>>
>> The SQL is very hard to read in comparing to :
>>
>> SELECT ID, Name, ContainerPackID FROM MDA_SYS.MDA_SV_Pack WHERE ID =...@p0;
>>
>> thanks
>>
>>
>>
>
>
> --
> Ken Egozi.
> http://www.kenegozi.com/blog
> http://www.delver.com
> http://www.musicglue.com
> http://www.castleproject.org
> http://www.gotfriends.co.il
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to