SSRS Tutorial 37 - Use Stored Procedure with Multi value Parameter in SSRS Report

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 พ.ย. 2024

ความคิดเห็น • 39

  • @ashishadhikari9089
    @ashishadhikari9089 8 ปีที่แล้ว +1

    I tried with dynamic sql as you suggested it worked fine for me. Thanks

  • @krismaly6300
    @krismaly6300 9 ปีที่แล้ว +2

    I enjoyed watching this video and recommend others.
    Question:
    When you could make the same report without Dynamic Sql then why want to struggle with Dynamic S?ql. Some times Dynamic Sql leads to SQL Injection
    Thanks for educating the community and appreciate your volunteership.
    Thanks a bunch

    • @christopheronyx4671
      @christopheronyx4671 3 ปีที่แล้ว

      Sorry to be so offtopic but does someone know a way to log back into an instagram account?
      I was dumb forgot the password. I would appreciate any help you can offer me

    • @dustindemetrius6756
      @dustindemetrius6756 3 ปีที่แล้ว

      @Christopher Onyx instablaster =)

    • @christopheronyx4671
      @christopheronyx4671 3 ปีที่แล้ว +1

      @Dustin Demetrius Thanks so much for your reply. I found the site thru google and Im waiting for the hacking stuff now.
      Seems to take a while so I will reply here later with my results.

    • @krismaly6300
      @krismaly6300 3 ปีที่แล้ว

      @@christopheronyx4671 Good Luck

    • @christopheronyx4671
      @christopheronyx4671 3 ปีที่แล้ว

      @Dustin Demetrius It did the trick and I now got access to my account again. I am so happy!
      Thanks so much you saved my ass!

  • @supriyatotare8997
    @supriyatotare8997 5 ปีที่แล้ว +1

    Hey, i always enjoy your video. They are so helpful. Thank you.
    But we can have multiple parameters selected in SSRS using checkbox in parameter field, right .

  • @j80831888
    @j80831888 5 ปีที่แล้ว

    the video is awesome! just have one question, why should we use dynamic SQL here?

  • @josofzo
    @josofzo 5 ปีที่แล้ว +1

    Thanks for your video, it was really helpful

  • @maraduarz
    @maraduarz 7 ปีที่แล้ว

    Thank you for your video, very helpful.
    However, I am running into a situation where there is comma in the middle of a single value of the parameter. and when i implement above solution, it is replacing the comma in the middle of value with (',') as well and hence, the report is not returning required dataset.
    How would you handle such situation, where there is comma in the middle of a single value?

  • @TlatoaniItzcoatl
    @TlatoaniItzcoatl 6 ปีที่แล้ว +1

    works fine when the number of values passed to the parameter is small. but when I input a parameter string longer than 8,000 characters using ssrs only the first 8,000 characters are recognized the rest are ignored. is there a better way to do this that will allow me to pass more than the varchar(max) limit?

  • @M4000-i9u
    @M4000-i9u 5 ปีที่แล้ว +1

    Great Job!

  • @DHARMYOGCOM
    @DHARMYOGCOM 6 ปีที่แล้ว

    hey I tried to write the user defined function but that doesn't work when I put it in the where clause. I copied and pasted t he values that the function returns in the where clause IN statement then it works but I cant use that. I want avoid using dynamic sql if possible. please let me know else I will have to rely on dsql

  • @subramji
    @subramji 7 ปีที่แล้ว

    This is very nice article. Thank you.

  • @vahnrondel
    @vahnrondel 5 ปีที่แล้ว

    Hi! your materials really helped me, but I am having problems with SP and refreshing fields.
    this is my case. My SP consists of multiple query.
    if @Report = 'report1' begin QUERY1 return end
    if @Report = 'report2' begin QUERY2 return end
    fields of QUERY1 are different from QUERY2.
    when I refresh the fields. QUERY1's field are always shown.
    what should I do?

  • @izikrules
    @izikrules 8 ปีที่แล้ว

    hi, I've tried your method by using ##temp and I still don't see any fields in SSRS. Any input?

  • @abhishekc5813
    @abhishekc5813 7 ปีที่แล้ว

    Awesome sir..

  • @programit7155
    @programit7155 3 ปีที่แล้ว

    I have an issue with oracle while creating multi value parameter in ssrs. It shows "ORA-00907: missing right parenthesis in dataset2" while i run my query of dataset2 in db it works fine though!!! please help.

  • @ravipaul1657
    @ravipaul1657 6 ปีที่แล้ว +1

    What if need to pass multiple integer value with scenario please help me for this.

    • @trevorm1172
      @trevorm1172 5 ปีที่แล้ว

      did you get an answer i can do with it thanks.

  • @trevorm1172
    @trevorm1172 5 ปีที่แล้ว +1

    What if with multiple parameters including integer?

    • @TechBrothersIT
      @TechBrothersIT  5 ปีที่แล้ว

      That should be fine too. you can have the intergers as multi value parameters.

  • @arnoldjohn8620
    @arnoldjohn8620 4 ปีที่แล้ว

    Use
    select values from string_split( @varregion)

  • @jthenry5
    @jthenry5 5 ปีที่แล้ว

    what about if one of your parameter values is blank?

    • @TechBrothersIT
      @TechBrothersIT  5 ปีที่แล้ว

      if there is no blank value in database then it should not return any value, not sure about what is your scenario.

    • @jthenry5
      @jthenry5 5 ปีที่แล้ว

      @@TechBrothersIT i have blank values but when i choose the select all check box in my parameter drop down it doesnt bring back data for the blank parameter value, it only brings the data for the blank value if i only select the blank check box in the drop down parameter.

    • @TechBrothersIT
      @TechBrothersIT  5 ปีที่แล้ว

      How about adding a “blank” value in parameter query and in data select query. Replace balnks to “blank” value to they match.

  • @seshagiriraokudaravalli6324
    @seshagiriraokudaravalli6324 4 ปีที่แล้ว

    how to pass Encrypted Multi value parameter without dynamic sql

  • @mokhot
    @mokhot 7 ปีที่แล้ว

    learn ti tipe !!