sql server 2008 r2 - Alternative to calling stored procedure for multiple records -
i have ssrs
report displays summary table of records. after click on 1 of records, goes individual report of record has multiple lines on configurable.
now have add column in summary table report displays line numbers checked on individual report. there scalar function in database used determine whether line checked based on guid
of record , internal label string given line. there stored procedure gets line number displayed on report database.
so getting line numbers display on summary report, planning on calling udf
each record in stored procedure gets records summary report. there problem in case since cannot call stored procedure function. need call stored procedure gets line number display each record, since line numbers can be unique different records.
i thought of converting function stored procedure mean need call each record require while
loop or cursor. not sure whether loop best possible solution case. cannot change stored procedure gets line numbers function since used many other reports before , require making changes stored procedures of reports.
Comments
Post a Comment