Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Dataset Fields Disappear After Query Edit

$
0
0

I have a report on MS SQL Report Builder 2.0 that is a simple helper table and calls a Stored Function with 8 parameters. I originally wanted to DECLARE and SET called parameters because I'm being asked to simplify the parameter list of the report. I cannot change the stored function.

BUT! when I edit the query (even just adding a carriage return) all of the generated fields of the dataset disappear. This makes it difficult to test the report. I tried to execute the query within the Query Designer but nothing happens if I assign the Parameter Value to Null or Blank, and I get a "Conversion failed when converting character string to smalldatetime data type." error if I try to enter the date in smalldatetime format (2018-12-07 10:14:00). most of the other paramters are NVARCHAR so I just enter the default parameter strings.

am I on to...


Viewing all articles
Browse latest Browse all 4871


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>