Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 


 
Microsoft Gold Certified Partner - DNN Benefactor

DotNetNuke Powered! 


Wednesday, October 08, 2008 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
Blue Sky
Want something added to the ListX engine, or just can't wait to see what is in store for the future? Check out this forum and let us know what you think.
Subject: 2 New SQL Functions

You are not authorized to post a reply.   
Author Messages
pauldes
Immortal
Posts:1389

10/03/2006 9:32 PM Alert 
{SQLFIND:[db.dbo.client.emailaddress],[email]} would return the primary key value for the table client for the FIRST match found in the table where a value is found in the emailaddress that equal [email].

{SQLINDEX:[db.dbo.client.emailaddress],[vRecordId,S]} would return the value in the column emailaddress where the primary key value = the session variable vRecordId.

ListX....makes you look brilliant, even though you're not.
kevinmschreiner
Please Wait...
Posts:749

10/04/2006 7:38 AM Alert 
Couldnt you accomplishing both of those with this syntax?

{SUBQUERY,Name="sqlfind",Query="Select top 1 EmailID from db.dbo.client where emailaddress='[email]'",Format="[EmailID]"}

{SUBQUERY,Name="sqlindex",Query="Select top 1 emailaddress from db.dbo.client where EmailID='[vRecordId,S]'",Format="[emailaddress]"}

Kevin M Schreiner

Business Intelligence Force, Inc. (bi4ce)
pauldes
Immortal
Posts:1389

10/04/2006 10:30 AM Alert 
Yeah, I guess....

ListX....makes you look brilliant, even though you're not.
You are not authorized to post a reply.
Forums > Bi4ce.Modules.ListX > Blue Sky > 2 New SQL Functions



ActiveForums 3.6
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation