Viewing 15 posts - 6,436 through 6,450 (of 13,874 total)
Ricky Valencia (10/26/2016)
•An application will generate csv files to a folder...
October 26, 2016 at 6:06 am
Thom A (10/26/2016)
Instead of using variables in the child package, use parameters. You can then pass the variables within the parent package as parameters to the child.
+1, this is the...
October 26, 2016 at 5:43 am
HanShi (10/26/2016)
BLOB_EATER (10/26/2016)
Lynn Pettis (10/25/2016)
Spammers are getting better, now even the topics they post look legit.I liked Eric's response - "get a job you bum".
The problem is that they probably...
October 26, 2016 at 5:42 am
Luis Cazares (10/25/2016)
Phil Parkin (10/25/2016)
Luis Cazares (10/25/2016)
And with a single statement and...
October 25, 2016 at 1:25 pm
Luis Cazares (10/25/2016)
And with a single statement and the error handling just...
October 25, 2016 at 1:06 pm
Luis Cazares (10/25/2016)
The reason for the CTE was to include the ORDER BY which isn't available in the simple UPDATE.
And I missed that. Definitely need the ORDER BY.
October 25, 2016 at 12:44 pm
DesNorton (10/25/2016)
And since it's a single statement, there is no need for the explicit transaction.
CREATE PROCEDURE...
October 25, 2016 at 12:34 pm
Try getting rid of the ON PRIMARY sections ... they're probably the default option, anyway. There's probably a bracket or a comma in the wrong place.
October 25, 2016 at 12:32 pm
Multi-threaded testing suggests that READ COMMITTED works just fine, using your atomic code.
Thanks again.
October 25, 2016 at 11:58 am
What's the compatibility level of the database you're working in?
October 25, 2016 at 11:50 am
@Patrick123 (10/25/2016)
October 25, 2016 at 10:55 am
Luis Cazares (10/25/2016)
READ COMMITTED should be enough. I would test, though.
Thanks again.
I agree: time to attempt to crash it with some testing.
October 25, 2016 at 10:45 am
Nice, Luis.
Is SERIALIZABLE required in this case? Or would READ COMMITTED be enough?
October 25, 2016 at 10:31 am
ninamahezi (10/25/2016)
I know how to use UPDATE but I was talking about functions in SQL.Thanks very much.
You have your answer. Functions do not perform updates in T-SQL.
October 25, 2016 at 10:18 am
I'd welcome any helpful comments on the optimal handling of concurrency issues in this thread. Cheers!
October 25, 2016 at 10:06 am
Viewing 15 posts - 6,436 through 6,450 (of 13,874 total)