Viewing 15 posts - 46 through 60 (of 208 total)
A small typo in code:
IF ((@len - @pos) < 0)
SET @offset = @len - @pos
ELSE
...
March 30, 2009 at 1:33 am
Index would help you with ordered search. Such bitmap search is random search of bit matrix. I'm not aware of any index type that would help you here. It always...
March 16, 2009 at 12:34 am
Partioning older data may be a good idea to prevent locking, if locking is indeed a possible issue. We looked into partioning tables a year or two back - but...
March 13, 2009 at 12:25 pm
Could you explain the need for such bitmap and the way you search it?
It looks like like one of solutions for full text search I was evaluating many years...
March 13, 2009 at 11:49 am
It supports unicode by default, no updates needed.
If you have an existing database, you have to alter it to use nvarchar instead of varchar.
February 4, 2009 at 1:37 am
Ken's solution should work just fine, probably even better as it's unlikely to get an exception.
However, sometimes it's not desirable for a SP to handle transaction.
I'm interested in performance comparison...
January 30, 2009 at 10:41 am
It IMHO does.
First you try the insert and if you get a violation, you catch the exception and try update.
January 30, 2009 at 6:36 am
Simply revert the order, first insert and then update:
begin try
insert...
set @inserted=1;
end try;
begin catch
set @inserted=0;
end catch;
if @inserted=0
update...;
January 30, 2009 at 4:46 am
The topic does not say that it won't run with sqlserver 7, it's just too old to be listed.
Logic says it should run just fine with any 32bit version of...
January 30, 2009 at 4:04 am
Not a god requirement. How would the client distinguish them? Each part should have its serial number, so if the user does not enter (type, scan,...) each part, multiple lines...
January 26, 2009 at 3:54 am
First of all, there are at least two mistakes: both "fetch next..." are after the loop and I think you have to close and deallocate C1 in the outer loop.
Second,...
January 5, 2009 at 5:35 am
Jeffrey Williams (12/18/2008)
Sorry, but what the @%$#%@ does that mean?What did you try, and how did if 'not work'.
Does it really matter?
Yesterday I went to connect, logged in, browsed, but...
December 19, 2008 at 1:51 am
Matt Miller (12/18/2008)
You CAN make certain T-SQL UDF functions show up as deterministic, assuming that they actually ARE deterministic and you make them schemabinding....
December 19, 2008 at 1:30 am
You're free do disagree. DOS was an OS at the time and command.com was its command shell. It abstracted access to some devices like printer, serial ports and disks. If...
November 21, 2008 at 8:44 am
Viewing 15 posts - 46 through 60 (of 208 total)