Viewing 15 posts - 331 through 345 (of 424 total)
this particular example is not a pure triangle as illustrated in your article. that's because the 'code' (account number) is used as the primary join article. so, the...
February 12, 2008 at 8:03 am
Kurt (2/12/2008)
February 12, 2008 at 7:48 am
the create catalog should fail if full text indexing is not available. does the sql below run without error?
if (1 = 1)
begin
exec sp_fulltext_database 'enable'
...
February 11, 2008 at 12:25 pm
are you certain the CREATE FULLTEXT CATALOG statement is not producing error?
you can enable full text indexing for the database even if full text search is not installed, but CREATE...
February 11, 2008 at 10:41 am
The problem is - this turns into a real dog of a query, and will have the tendency to blow out your tempDB, steal all of the RAM, etc......
February 11, 2008 at 9:21 am
i'm confused. assuming there's some column that can order the payments sequentially/chronologically, can't this be solved with a simple self join?
create table #z
( seq int not null, code char(2),...
February 11, 2008 at 8:38 am
you can re-install the trial, but the ticker will still be running from your original install. so you won't be able to get around the 180 day limit.
like i...
February 8, 2008 at 1:34 pm
the CTE route is really cool since it calls itself. i only discovered that CTEs are really treated as "expressions" a few days ago so the self-referencing CTE in...
February 8, 2008 at 1:27 pm
that's kind of fuzzy. if someone else is accessing it over the internet for training purposes, then it's obviously not being used only by you (the developer) for...
February 8, 2008 at 12:57 pm
a (useful) recursive function uses it's calculation result as input to the recursive call. a recursive function is one technique to perform recursion, but not the only technique. ...
February 8, 2008 at 12:48 pm
the technique doesn't use recursive calls (a process/method calling itself) but it does use recursion and can be considered recursive by defintion.
from dictionary.com:
re·cur·sive –adjective
1. pertaining to or using...
February 8, 2008 at 12:13 pm
assuming parentid refers to an id in the same table (self join), you would have to do it with some sort of recursion. here's my suggestion:
create table #vehicles
( id...
February 8, 2008 at 6:58 am
but a view would making writing and understanding that query a lot easier.
February 8, 2008 at 6:23 am
quick and dirty, but you get the idea:
select * from (
select *, row_number() over (partition by Country order by Hits desc) as num
from tbCountryWebHits ) as z
where num <= 2
if...
February 6, 2008 at 11:57 am
WHERE r.stateid=(case when @StateID is null or @StateID='' then r.stateid else @StateID end)
and r.provid=(case when @provID is null or @provID='' then r.provid else @provID end)
and r.rID=(case when @ReqID is null...
February 6, 2008 at 10:25 am
Viewing 15 posts - 331 through 345 (of 424 total)