If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

[Solved] How to use session parameters in tabular sql

Started by mrcool, 29 Oct 2005 07:03:20 AM

Previous topic - Next topic

mrcool

Hi frnds...Can anyone tell me how to use session parameters in tabular SQL..I searched forÃ,  this topic and didnt find any...Waiting for ur Reply ;)



Thanks,
S

Cornelis

This is what I did for one of my customers.

The SQL is native SQL, make sure you've got connection to your datasource (you can select this in the properties of the tabular SQL).

Select dbo.tblGebruiker.strNTUsername,dbo.tblItemOnzichtbaar.intItemID
from dbo.tblItemOnzichtbaar, dbo.tblGebruikerSecurityGroep, dbo.tblGebruiker
where dbo.tblItemOnzichtbaar.intSecurityGroepID=dbo.tblGebruikerSecurityGroep.intSecurityGroepID
andÃ,  Ã, dbo.tblGebruikerSecurityGroep.lngGebruikerID=dbo.tblGebruiker.lngGebruikerID
andÃ,  Ã, dbo.tblGebruiker.strNTUsername=#sq($account.personalInfo.userName)#Ã, 

This works like a charm.

Cornelis

mrcool