Viewing 15 posts - 1,351 through 1,365 (of 1,825 total)
a sarg is a searchable argument. By making the Longitude and latitude searchable as below, this will quickly eliminate all those zipcodes outside of the squared off area....
October 19, 2009 at 10:02 am
Almost there,
you need cross apply , not cross join
select myAlias.* ,Thesaurus.definition
from Thesaurus
cross apply dbo.[fn_split](Thesaurus.definition,',') myAlias
October 19, 2009 at 7:37 am
You cant do that, a view is a single select statement.
Can you give an example of what you are attempting ?
October 19, 2009 at 7:08 am
There are a few methods , not exists, count(*)=0 etc but
I prefer to test non-existance with a left outer join
select *
from WCE_ILR
left join WCE_COURSE_DELEGATE_LINK ...
October 19, 2009 at 2:47 am
I would wrap it in a Cte and then filter on the result of that.
However , what will hurt your performance more is unnecessary calculations.
In my Sarg i would also...
October 19, 2009 at 1:50 am
Can you show us how you have tried to resolve the issue ?
October 19, 2009 at 1:29 am
ItalianOlgi (10/16/2009)
Can you post answers too? Or I shall ask the SQL Server expert from India I hired already for very little money?
That will be the guy we gave the...
October 16, 2009 at 11:37 am
Also the rowid is treated as a string
@paul-2 , yes fun
INSERT dbo.Employee VALUES ('abc', 2000);
INSERT dbo.Employee VALUES ('asd', 1000);
INSERT dbo.Employee VALUES ('azz', 5000);
INSERT dbo.Employee VALUES ('awe', 4000);
INSERT dbo.Employee VALUES ('qwe',...
October 16, 2009 at 5:11 am
%%lockres%% is undocumented, Paul certainly has a found a new use for it
From http://www.informit.com/articles/article.aspx?p=686168&seqNum=5
The second option for row and key resources is to use the %%lockres%% virtual column....
October 16, 2009 at 5:07 am
Ok , now you've defined an order things get much easier....
Steven has give you the answer above.....
October 16, 2009 at 4:22 am
Ok , heres an analogy for you.
Image that each rows data is written on a piece of paper then thrown into a bucket.
Now , you are asking for the sixth...
October 16, 2009 at 4:01 am
Well you clearly havent, as you are still saying 6'th record.
What order by clause are you using to make it the 6'th row in your result set.
Please note the massive...
October 16, 2009 at 3:40 am
Another urgent one
http://www.sqlservercentral.com/Forums/Topic803961-338-1.aspx
Quick everyone , stop what you are doing.
All he needs is the sixth row, doesnt SQL suck!
October 16, 2009 at 3:14 am
Viewing 15 posts - 1,351 through 1,365 (of 1,825 total)