Viewing 15 posts - 166 through 180 (of 444 total)
What you need to do is modify my Union query by adding a simple "Not In" for the contra-rule. That will exclude the options that are tied to options that...
December 22, 2009 at 11:38 pm
Sorry GSquared, but the query results are incorrect.
I'll go Donation by donation:
Assuming that Patient is Male (PrefID = 1), Location is America (PrefID=5), Age Between 21-10 (PrefID=3) and is Muslim...
December 21, 2009 at 9:43 pm
Sorry if there is still ambiguity.
And you are right. If some onne donated for religion that is not followed by the patient, He is NOT eligible. Even if he meets...
December 21, 2009 at 11:50 am
Lets take the business process.
We are designing a Donation System.
1) Now, Donor Donates $100 for Patients with gender=Males and Age between 20-30.
This makes one donations.
2) Now we have a...
December 21, 2009 at 11:16 am
Patient Preferences are generated through the biodata of the patient in the system. Overe here, it could be assumed as stated in the Scenario.
December 21, 2009 at 10:59 am
DonationID 1 ,3 and 4 are valid for first Scenario.
Its because DonationID 1 is for PrefID 1 (Male) and PrefID 3 (Age between 21-30). Patient PrefIDs have PrefID 1 and...
December 21, 2009 at 10:43 am
Patient with Preference like
Male ( PrefID=1)
Location America (PrefID=5)
Religion Muslim (PrefID=8)
Age between 25 (PrefID=3)
Here is the explanation;
The above condition means All the DonationIDs are valid if PrefID 1,5,8,3
are...
December 21, 2009 at 10:13 am
Please Add the following record for DonationID 3 in vDonationPreferences
Select 3,8
Thanks
December 21, 2009 at 9:32 am
It seems quite simple. But I have been struggling with this for 4 hours.
I need a query to get the valid donations as discussed in the code.
December 21, 2009 at 9:26 am
Try using Left Outer Join with all tables according their fields with Distinct Clause...
December 2, 2009 at 1:06 am
Dynamic Query will be helpful...
Declare @vSQL varchar(1000)
Declare @VarName varchar(1000)
Set @VarName = 'RED'
Set @vSQL = 'select col1,col2 from [Table]
where col3 ' + case when @VarName = 'RED' then ' =...
December 2, 2009 at 12:59 am
In simple language, Service Broker is a technology that can transfer your message / data .
SQL Server Service Broker offers the functionality of Asynchronous messaging. SQL Server, at its own...
November 26, 2009 at 5:31 am
What to say...?
SQL Agent is installed with SQL Server 2008 Express but cannot be started.
So the creation of job is meaning less if you cannot execute it.
Lost my point....
November 26, 2009 at 5:19 am
Is tillReceiptnumber Unique troughout the table?
Can you please post some test data? It would be very helpful.
November 23, 2009 at 3:51 am
Try to use TOAD for SQL Server that has this functionality built in.
Ya. I have checked TOAD fro SQL Server.
Thanks for the reply.
November 4, 2009 at 3:02 am
Viewing 15 posts - 166 through 180 (of 444 total)