Hi Bob,

 

(sorry for sending these emails directly to your address all the time, I
just click 'reply', as Im used to mailing lists having the posting address
as the reply address (on behalf of...))

 

In

src\ca\serverca\scasched\scasqlstr.cpp

 

line 30 has:

LPCWSTR vcsSqlBinaryScriptQuery = L"SELECT `Data` FROM `Binary` WHERE
`Name`=?";

 

Then line 233 appears to open the Binary table view and retrieve a row,
using a row from the SQLScript table to populate the `Name` of the binary...

I cant see anywhere that the '?' is replaced with a the name of the
SQLScript Binary entry, so Im assuming this is happening automatically...

 

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Monday, 2 July 2007 4:32 p.m.
To: Adam Langley
Cc: [email protected]
Subject: Re: [WiX-devs] using WcaExecuteView to join tables

 

Adam Langley wrote: 

Can anyone give me a quick rundown on how to use WcaExecuteView to join
between tables?

I've noticed some queries using "where `Name`=?" type parameters, and there
seems to be some sort of convention for Wca automatically populating this
parameter based upon the table schema.


I'm not aware of anything like that (not that that's a guarantee). Where did
you see it?

-- 
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to