Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Dynamic SQL and variables

    Check out this ... It May Work

    Your Query

    select @sql = 'Select tgt_module_' + right(@Module,1) + ' as Result from tbl_aud_dates where Month_Date = ' + char(39) + 'January-2005'...

Viewing post 1 (of 1 total)