krunal pande

krunal pande

  • NA
  • 101
  • 27.8k

select dynamic database

Nov 13 2017 4:45 AM
hi team,
 
how to select dynamic database.
e.g 
 
select top 10 * from ELCM_mahsqa.tna.rostering 
 
my query is that how to change  'mahsqa'  dynamically
 
suppose client name is abc then i want o/p like
 
select top 10 * from ELCM_abc.tna.rostering  

Answers (2)