Viewing 5 posts - 61 through 65 (of 65 total)
IMO - it is rare to "over-index" a table - I almost always find the exact opposite. However, things I look for when I see many indexes:
1. Are...
July 22, 2015 at 5:17 pm
Regarding simply ordering the values so that numerics are all first - in numeric order, and alphas follow in alpha order, that is also simple with the Try_Convert method.
select [data]
from...
July 14, 2015 at 2:18 pm
ctaylor 79909 (7/10/2015)
July 14, 2015 at 1:04 pm
Use Try_Convert, which does what IsNumeric should have done... Try_Convert(<type>, <data>) returns a NULL if the data cannot be converted to the type, or returns the data converted...
July 14, 2015 at 12:42 pm
An "instead of" trigger seems like the best solution. It is pretty simple for your example here:
create trigger table1_ins_upd
on table1 instead of insert, update
as
begin
declare @num_rows int;
...
July 13, 2015 at 7:32 pm
Viewing 5 posts - 61 through 65 (of 65 total)