Skip to main content
replaced http://dba.stackexchange.com/ with https://dba.stackexchange.com/
Source Link

At the moment I have a view created, see it here in the answersee it here in the answer. How can I create a function based on that crosstab() query , so I can pass a date, and get data for the specific date?

Also is it good practice to call that function multiple times and pass different dates to fill a chart (for example)?

At the moment I have a view created, see it here in the answer. How can I create a function based on that crosstab() query , so I can pass a date, and get data for the specific date?

Also is it good practice to call that function multiple times and pass different dates to fill a chart (for example)?

At the moment I have a view created, see it here in the answer. How can I create a function based on that crosstab() query , so I can pass a date, and get data for the specific date?

Also is it good practice to call that function multiple times and pass different dates to fill a chart (for example)?

clarify
Source Link
Erwin Brandstetter
  • 182.1k
  • 28
  • 457
  • 620

At the moment I have a view created, see it here in the answer. How can I create a function based on that cross tabcrosstab() query , so I can pass a date, and get data for the specific date?

Also is it a good practice to call that function multiple times and pass different dates to fill for example a chart (for example)?

At the moment I have a view created, see it here in the answer. How can I create a function on that cross tab, so I can pass a date, and get data for the specific date?

Also is it a good practice to call that function multiple times and pass different dates to fill for example a chart?

At the moment I have a view created, see it here in the answer. How can I create a function based on that crosstab() query , so I can pass a date, and get data for the specific date?

Also is it good practice to call that function multiple times and pass different dates to fill a chart (for example)?

Tweeted twitter.com/#!/StackDBAs/status/488924169623851008
added 25 characters in body
Source Link
alexsmn
  • 353
  • 1
  • 3
  • 14

At the moment I have a view created, see it here in the answer. How can I create a function on that cross tab, so I can pass a date, and get data for the specific date?

Also is it a good practice to call that function multiple times and pass different dates to fill for example a chart?

At the moment I have a view created, see it here in the answer. How can I create a function on that cross tab, so I can pass a date, and get data for the specific date?

Also is it a good practice to call that function multiple times to fill for example a chart?

At the moment I have a view created, see it here in the answer. How can I create a function on that cross tab, so I can pass a date, and get data for the specific date?

Also is it a good practice to call that function multiple times and pass different dates to fill for example a chart?

Source Link
alexsmn
  • 353
  • 1
  • 3
  • 14
Loading