Viewing 15 posts - 391 through 405 (of 3,500 total)
Use DATEFROMPARTS ( year, month, day ) and EOMONTH ( start_date [, month_to_add ] ) to get the first day and the last day of a month and then use...
March 4, 2022 at 3:05 am
Do you mean doing running totals and dividing by some value in the current record?
Use a windowing function to do a running total, then divide.
March 2, 2022 at 7:45 am
PowerQuery can get data from your database. then merge. Depends on what tools you have available.
February 28, 2022 at 3:28 pm
Looks like you can drop a rectangle onto your report canvas and then put the two textboxes from the parent and then a tablix based on the child table inside...
February 20, 2022 at 6:34 pm
You'd have to check for zero in the divisor first. There's no DIVIDE() function in T-SQL.
IF(divisorColumn = 0, NULL, NumeratorColumn/DivisorColumn)
February 20, 2022 at 6:10 pm
Reporting Services? Depends on what you're trying to do.
if you want fully interactive charts, that's more PowerBI/Excel
February 19, 2022 at 3:00 pm
if what you're doing is purely financial stuff, Metastock may be just what you need. I would wager that there's been a ton of thought and expertise built into the...
February 19, 2022 at 4:18 am
I would look at PowerBI and Excel. You can use stored procedures and views as data sources if you want. What kinds of graphs etc did you want to create...
February 19, 2022 at 1:12 am
See what kind of data? From where?
"I want to know what kind of car or truck I should buy, but I can't tell you how I'm going to use it."
Excel...
February 18, 2022 at 4:19 pm
Here's one post by Erland answering a similar question.
Then you'd have to do something like create a cursor (I think) to pass the values from
SELECT DISTINCT header1 FROM tableMain...
February 18, 2022 at 2:53 am
Here's a post from Erland Sommarskog...
passing parameter to stored procedure in bcp command
then all you'd have to do is loop over the list of values to pass into the stored...
February 15, 2022 at 6:20 am
use BCP OUT with a parameterized stored procedure to get the data you want?
See Example G on this page: bcp Utility - SQL Server | Microsoft Docs
February 15, 2022 at 2:29 am
You could filter on TaqIndex... something like
WHERE TaqIndex % 30 = 0, and then you'd only pull a small fraction of the records. Instead of 30, try a larger number......
February 13, 2022 at 4:43 pm
Why are you even setting the IDENTITY property on a temporary table that you're inserting data into that already has a PK? Are you going to insert data from another...
February 12, 2022 at 11:45 pm
Are you basically trying to find the largest islands you can (contiguous sets of dates)? (Basically where you find the start date and end date for each "island".)
that's a Gaps...
February 10, 2022 at 12:48 am
Viewing 15 posts - 391 through 405 (of 3,500 total)