• From the RDL, open in a text editor, Notpad++ is what I use. Search for <COMMANDTEXT> and </CommandText>. Your sql code will be between these two. If there is one or more dataaset, search those as well.