Viewing 15 posts - 44,866 through 44,880 (of 59,063 total)
Heh... and IMHO, CLR's have virtually no place including UDF's. RegEx and file handling are the only two places I've not been able to beat a CLR with T-SQL.
March 1, 2009 at 9:49 am
Ross McMicken (3/1/2009)
March 1, 2009 at 9:32 am
Stanley Pagenel (2/28/2009)
Thanks Jeff my problem is fixed now
Yeah, I saw how you think you fixed it on the other thread of yours... lemme tell you the same thing I...
March 1, 2009 at 9:26 am
Stanley Pagenel (2/28/2009)
Thanks Dugi that help me fix my problem.Have a nice day,
Stan
Nope... if all you've done is replace a Cursor with a Temp table and While loop, all you've...
March 1, 2009 at 9:25 am
GilaMonster (2/28/2009)
Jeff Moden (2/27/2009)
February 28, 2009 at 8:33 am
Here's one, straight from the horse's mouth....
http://technet.microsoft.com/en-us/library/ms131075.aspx
The part that they left out is that there's normally a way to do the same thing in more than 95% of the case...
February 27, 2009 at 9:46 pm
Google "UPSERT SQL SERVER 2005".
Basically, you need both an UPDATE and an INSERT. Both would have joins between the two tables. For the UPDATE, if the join succeeds,...
February 27, 2009 at 9:36 pm
If you were to go through the code and document it, I'll just be you could figure it out yourself. 😉
February 27, 2009 at 9:23 pm
Make the view without the WHERE clause. Use the WHERE clause when selecting from the view.
February 27, 2009 at 9:05 pm
Stanley Pagenel (2/27/2009)
The procedure is use to set a flag in the table RRF_FICH_GPS_BRUT
Based on what? What are the business rules?
Also, please see how to post sample data in...
February 27, 2009 at 9:01 pm
SELECT @CompanyID = company_id FROM updated
Your code contains the line above... there's no such thing as an UPDATED table inside the trigger. Do you have a table outside the...
February 27, 2009 at 8:59 pm
MrBaseball34 (2/27/2009)
So you must ALSO create a TSQL wrapper for them. Man, what good is having to do that?Someone must be nuts to use CLR SPs...
Heh... finally... someone besides me...
February 27, 2009 at 8:47 pm
Christopher...
Let's think about this... what harm would it cause if all the items were equal and we still did the update anyway? Unless you have triggers or a TIMESTAMP...
February 27, 2009 at 8:36 pm
I'd definitely suggest you read the article that Bit Bucket pointed you to, but not until you understand how a Tally table actually replaces a loop in situations like this....
February 27, 2009 at 8:31 pm
sp_cursorfetch isn't something the 3rd party vendor wrote into their code... it's what get's used as a result of their code (or anyone's code).
They key here is, and I...
February 27, 2009 at 8:12 pm
Viewing 15 posts - 44,866 through 44,880 (of 59,063 total)