Viewing 15 posts - 76 through 90 (of 239 total)
Well if you are not going to post the information requested then you are on your own to try and fix the problem. No one here will be able to...
May 4, 2006 at 2:45 pm
John.
Could you post your actual query? Maybe something else is wrong that can be fixed to return your performance.
May 4, 2006 at 12:27 pm
I do on a server with a case sensitive collation setting.
My point was that no matter what collation is selected, the query will result in a match when using UPPER()...
May 4, 2006 at 10:54 am
Sure. Something like this will return 2 result sets
create procedure test
as
set nocount on
select * from master..sysobjects
select * from master..syscolumns
go
May 4, 2006 at 10:38 am
I believe that you don't need the subselects. Table functions can be used just like any other table so the following syntax will also work:
FROM dbo.fnWTRCenPrtDivData(@chr_div, @vch_portfolio_no ) AS fnWTRCenPrtDivData...
May 4, 2006 at 10:35 am
Riyaz,
By doing what you've described, a case INSENSITVE search will result. The following results in a match even though they are different cases.
declare @fac varchar(20)
,@fac2 varchar(20)
select...
May 4, 2006 at 10:28 am
The maximum size for a VARCHAR field is 8000 characters. The maximum number of bytes per row is 8060 in SQL 2000. This allowed for upto 60 bytes of other...
May 3, 2006 at 3:58 pm
It is not strange if you know the order in which the various parts of a SQL query are processed and become available to later parts. Here is a link...
May 3, 2006 at 3:34 pm
You cannot use aliased columns defined in a select later on in the same select statement
This fails: select name, m1prod as cumsum1, cumsum1 + m2prod as cumsum2 from test
You may...
May 3, 2006 at 3:22 pm
You could try something like this to avoid looping:
--Build a table of numbers, you may want to make it a real table because it is a good tool to...
May 3, 2006 at 3:08 pm
Why are you focusing on an example that may have been poorly constucted for an truely international system. However, there are system in place that only deal with with people...
March 18, 2006 at 7:52 am
Mark,
I was just making a point about storing attributes with the entity. I believe you agree that the 3 table solution is way overnormalized
I would probably declare person record as:
create...
March 17, 2006 at 9:29 am
Maybe my system is modeled so that the only people in the database will be ones born in the US, say a database of all births for a hospital corporation operating...
March 17, 2006 at 9:18 am
I agree that you rarely need more than 10 columns to identify an instance of an entity but what about attributes of that entity?
Would you propose something like this to...
March 17, 2006 at 8:53 am
Try this:
select COALESCE(cnts.cnt, 0) 'Received Applicants', jp.JobPosting_ID, jp.Job_Title, jp.Job_Location, jp.Job_ZipCode
from Job_Posting_Table jp
left outer join (select count(*) cnt, jp.JobPosting_ID
from Job_Posting_Table jp
cross join Applicant_Table a
inner join Zip z1
on...
March 16, 2006 at 12:07 pm
Viewing 15 posts - 76 through 90 (of 239 total)