-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: karunreddi
Message 4 in Discussion


one 
way of doing is pass table names from font end itself...
so 
that check for the parameter if it is not null then join as per ur 

condition
 
other 
way is hard code table names in stored procedure
and 
check for the condition you needed based upon the parameters
 
Rgds
Karun

  -----Original Message-----
From: Pmurugan 
  [mailto:[EMAIL PROTECTED]
Sent: Friday, September 17, 2004 
  6:17 PM
To: [EMAIL PROTECTED]
Subject: Best apporch 
  to join tables dynamically in Sp


  
    
      
      New Message on BDOTNET
    
      

  Best 
    apporch to join tables dynamically in Sp


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 1 in 
                Discussion 
      
        
          
            
            
              From: Pmurugan 
            
              



Hi All,

I need 
                use 15 tables and 20 parameters to fetech the data from the 
                
SqlServer2000 database.

These 20 parameters spreded 
                over 15 tables, all are optional parameters, i 
need join the 
                tables dynamically based on the input parameters passed(if is 
                
not Null)

please suggest me the best approch to do 
                this...,


Thanks in 
                advance

Regards
Murugan

_________________________________________________________________
Movies, 
                music, celeb news. Stay in the loop. 
                http://www.msn.co.in/cinema/ 
With MSN 
            Entertainment!

View other groups in this 
    category. 



DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. 
Before opening attachments please check them for viruses and defects. MindTree 
Consulting Private Limited (MindTree) will not be responsible for any viruses or 
defects or any forwarded attachments emanating either from within MindTree or outside. 
If you have received this message by mistake please notify the sender by return  
e-mail and delete this message from your system. Any unauthorized use or dissemination 
of this message in whole or in part is strictly prohibited.  Please note that e-mails 
are susceptible to change and MindTree shall not be liable for any improper, untimely 
or incomplete transmission.

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to