Viewing 15 posts - 151 through 165 (of 692 total)
Matt Miller (9/22/2008)
--
Adam Machanic
whoisactive
September 22, 2008 at 8:26 am
cs_troyk (9/22/2008)
--
Adam Machanic
whoisactive
September 22, 2008 at 8:18 am
I actually didn't mention numeric types in the feedback item on purpose, because there are some deeper issues there and the fix isn't quite as straightforward. My suggested fix...
--
Adam Machanic
whoisactive
September 19, 2008 at 2:13 pm
Yes, EASY. And not at all suboptimal, either. Sorry, but I don't buy "if it were easy they already would have done it." I suspect the truth...
--
Adam Machanic
whoisactive
September 19, 2008 at 12:12 pm
developmentalmadness (9/19/2008)
--
Adam Machanic
whoisactive
September 19, 2008 at 11:33 am
PKs and UNIQUE constraints are backed by indexes, so you can create indexes, as long as they're unique. Need a non-unique index? Add an identity column and use...
--
Adam Machanic
whoisactive
September 12, 2008 at 9:52 am
Jeff Moden (7/18/2008)
Viswanath S. Dhara (7/18/2008)
I am trying to update a table using a correlated subquery.
Why? Correlated subqueries are a form of RBAR and can actually be...
--
Adam Machanic
whoisactive
July 18, 2008 at 8:26 am
Viswanath S. Dhara (7/17/2008)
--
Adam Machanic
whoisactive
July 17, 2008 at 9:54 pm
A couple of small corrections:
A) INSERT EXEC actually does work on table variables in 2005 and 2008.
B) You can create nonclustered indexes on table variables, in the form of...
--
Adam Machanic
whoisactive
July 17, 2008 at 3:33 pm
One big difference not mentioned in the article, but which influences the choice of when to use which, is that autostats do not apply to table variables, but do apply...
--
Adam Machanic
whoisactive
July 17, 2008 at 1:04 pm
You add it to the SqlFunctionAttribute in the C# code:
public partial class CTSStoredProcs
{
[Microsoft.SqlServer.Server.SqlFunction(IsDeterministic=true, IsPrecise=true)]
public static SqlBoolean RegExValidate(
SqlString expressionToValidate, SqlString regularExpression)
{
...
--
Adam Machanic
whoisactive
June 22, 2008 at 11:18 am
Looks good, but you might want to apply the IsDeterministic and IsPrecise options on the SqlFunctionAttribute so that you can use your function in a wider variety of scenarios (such...
--
Adam Machanic
whoisactive
June 22, 2008 at 10:54 am
billross (6/22/2008)
--
Adam Machanic
whoisactive
June 22, 2008 at 8:07 am
Marios Philippopoulos (1/25/2008)
Inside MICROSOFT SQL SERVER 2005: T-SQL PROGRAMMINGby Itzik Ben-Gan
Solid Quality Learning
is a great introduction to SQL CLR
Absolutely! And may I also suggest...
"Pro SQL Server 2005"
by Tom Rizzo,...
--
Adam Machanic
whoisactive
January 25, 2008 at 9:27 am
don_goodman (1/25/2008)
--
Adam Machanic
whoisactive
January 25, 2008 at 9:25 am
Viewing 15 posts - 151 through 165 (of 692 total)