Viewing 15 posts - 886 through 900 (of 1,402 total)
Keep in mind that'll update all the batch id's every time which might not be intended or a good idea on a large table. Adding a WHERE batch_ID IS...
September 10, 2020 at 6:05 pm
As general issues go does this require ##temp to have global scope? Also, why make the variables varchar(max)? I got it to work like this
drop table if...
September 10, 2020 at 3:02 pm
There was a slight addition needed to David Burrow's code above. Which is nicely done and way better than the (now Closed) Stack Overflow answer to the same question. ...
September 8, 2020 at 2:43 pm
Yay!! Just passed my goal of 1,500 points on Stack Overflow which means I can now create a tag for the JsonAutoService C# data access library. I began on August...
September 6, 2020 at 8:51 pm
It could be done with a correlated subquery too. Stylewise I prefer >= and <= to BETWEEN AND. Anything that's shorter, I like. The more framework words you use the...
September 5, 2020 at 11:09 pm
Something like this
select sa.userID, a.RecordID
from SmartAgents_toSend sas
join Ads a on sas.adID=a.RecordID
join SmartAgents sa on a.price between sa.priceFrom...
September 5, 2020 at 8:42 pm
;with chem_count as (
select chemicalId
from #chemical
group by chemicalId
having count(distinct chemicalStatus)>1)
update sv
set...
September 3, 2020 at 10:07 am
For a majority of people, I agree. They just want a solution and there’s no learning no matter how hard you try. It’s also one of the reasons why...
September 2, 2020 at 4:41 pm
gentong.bocor wrote:yes, this query can't be run on 2008..
You mean the queries posted here, or it's not possible at all? There's got to be a way
I mean, the...
September 2, 2020 at 2:06 pm
why the amount starting from september and so on not calculated ?
This query should represented all amount & period starting from september until december next year and grouping by...
September 2, 2020 at 1:44 pm
yes, this query can't be run on 2008..
You mean the queries posted here, or it's not possible at all? There's got to be a way
September 2, 2020 at 1:19 am
deleted
September 1, 2020 at 11:25 pm
Steve Collins- I didn't see a "function-ized" version of your code in the thread. If I missed it, point it out and I'll include it in another round of...
August 25, 2020 at 2:51 pm
Suppose there were tables which pre-split the words so there's an established correct baseline for comparisons. Also there could be a script with nested loops that executes different procedures dynamically...
August 18, 2020 at 12:38 pm
The 1,000 names in the test variables vary in length from 2 to 11 characters. Here's some code to generate 8 random tests and store them in a UDT. I...
August 18, 2020 at 11:54 am
Viewing 15 posts - 886 through 900 (of 1,402 total)