Viewing 15 posts - 10,561 through 10,575 (of 18,923 total)
They should be identical. The datadd... part is used to strip the part time of the date. However in this case it seems to be useless. But I also assume...
December 15, 2006 at 11:30 am
This is one good way. However there's a faster way if you have only 1 text information per row.
CREATE FUNCTION dbo.fnStripHtmlTags (@Text AS VARCHAR(8000))
RETURNS VARCHAR(8000)
AS
BEGIN
DECLARE @Return AS VARCHAR(8000)
DECLARE @StartPos...
December 15, 2006 at 11:27 am
I want full audit, old row version / who / when / where (application and station) / what (sql statement).
I would most likely split the duplicate information to it's own table...
December 15, 2006 at 11:25 am
Books online would be your best friend at the moment. The Inserted and Deleted tables are accessible only within triggers. They contain the information on the data that has been...
December 15, 2006 at 9:02 am
Please do not cross-post, we monitor all boards.
Finish this thread here :
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=149&messageid=330820
Consider this thread closed.
December 15, 2006 at 8:00 am
What's the cost of using this code on all tables all the time for a very low transaction environement?
Average of about 2-3 transactions/second over an 8 hours period. I'm looking to...
December 15, 2006 at 7:59 am
I'm sure it's possible but I need to know exactly what you need to help you. Can you provide some sample data and the required output from that function so...
December 15, 2006 at 7:09 am
I was searching for a nice way to put it... and it was just that
.
December 15, 2006 at 7:03 am
Can't be sure without the code, but I'm guessing that you are not updating a flag column, nor are you keeping the last record inserted. Both which would allow you...
December 14, 2006 at 6:36 pm
Is it faster than the original version?
December 14, 2006 at 4:59 pm
It means that you have orphaned data in the child table. Use a left join to find which rows they are. Then you'll have to decide wether you want to...
December 14, 2006 at 1:40 pm
After some testing it appears that the ascii version is constantly better, by almost 10%. Anyone wanted a proof that comparing strings is longer than comparing numbers ?!?!
December 14, 2006 at 1:03 pm
I think my version could even be faster by switching the ascii() between 48 and 57 to substring between '0' AND '9'
December 14, 2006 at 12:54 pm
For once in my life I think I found a better solution than Franks >> and I'm a little surprised that you didn't think about it yourself :
December 14, 2006 at 12:53 pm
Viewing 15 posts - 10,561 through 10,575 (of 18,923 total)