Viewing 15 posts - 826 through 840 (of 1,396 total)
Since it's a calculation based on the current state of the data couldn't you just use a query? Why does the balance have to be stored? Perhaps it...
October 26, 2020 at 11:56 am
Since it's a calculation based on the current state of the data couldn't you just use a query? Why does the balance have to be stored? Perhaps it could be...
October 26, 2020 at 11:27 am
Disclaimer: I'm not saying this is the correct way to do this. But it's compact and nice to look at imo. String integers convert implicitly and time differences are easily...
October 22, 2020 at 1:22 pm
Mission accomplished. It only took 4 days.
October 21, 2020 at 3:19 pm
[Edit] I thought there was a typo in line 2 but the date difference seems to also need to include the day date. Therefore, there's a typo in line 3...
October 18, 2020 at 6:49 pm
What you posted is by definition not a table at all! The table must have a key. You cannot embed spaces in the data element name in any of...
October 14, 2020 at 3:58 pm
There are different ways to accomplish this. Here's one. In order to use the ROW_NUMBER function in the OUTER APPLY I created a table valued function called dbo.func_reserve_accuracy_amount. When OUTER...
October 8, 2020 at 3:32 pm
[Edit] Ok, there were 2 updates above and this post was after the first without having read the second. So I'm wiping it out. To be updated if possible
October 8, 2020 at 12:28 pm
It appears this query meets the requirements, or maybe it's close? Something like this
drop table if exists #test;
go
create TABLE #test (
ClaimID int NOT NULL,
...
October 7, 2020 at 10:31 pm
Please have a look at this article about string splitters. I think you're looking for something like this
drop table if exists #stuff;
go
create table #stuff(
sometext...
October 7, 2020 at 2:54 pm
We have a stored procedure and job that will email out invoices daily. It all works great, however, we are trying to get the current date in the CSV...
October 6, 2020 at 12:22 am
Awesome Steve...u got it.
i have some question about fol. is it part of that update statement where you use "OUTPUT inserted.book_id into @b-2" and that declaration part where u...
September 29, 2020 at 2:27 pm
Here's an alternate way of writing the query. I've been experimenting with windowing functions and I'm pretty sure, but not 100% certain, this is equivalent to Scott's query. I would...
September 29, 2020 at 1:44 pm
Viewing 15 posts - 826 through 840 (of 1,396 total)