Viewing 15 posts - 916 through 930 (of 1,217 total)
sarwa,
something is wrong with the database design in the posted example. Every column must have certain meaning, you can't simply shake the table as a dustbin to push garbage down and...
November 8, 2005 at 3:43 am
Abuse of power? Make the individual feel lesser of an individual because of his knowledge base? Served no useful purpose?
These are some of the opinions about e-mail sent to the...
November 7, 2005 at 6:11 am
If I understood you correctly, then you should put the mentioned condition into WHERE clause:
where (m.it1 <> 'Y' or m.it1 is null)
and m.issuetype in ('ISSUE', 'RETURN')
and m.storeloc in ('B631OT', 'B642GB', 'B641GB',...
November 4, 2005 at 8:14 am
I would use a self join in this case:
SELECT DISTINCT bc1.FK_BOOK
FROM #BookCategory bc1
LEFT JOIN #BookCategory bc2 on bc1.FK_BOOK = bc2.FK_BOOK AND bc2.CATEGORY IN ('A','B')
WHERE bc2.FK_BOOK IS NULL
In addition to this...
November 4, 2005 at 5:35 am
Try adding DISTINCT keyword first - SET SoDiagnosisID = (select DISTINCT A.SoDiagnosisID ......) - maybe your query just returns the same value several times. SQLS does not check, whether the values...
November 3, 2005 at 1:58 am
I think it can be even simpler if you're not doing it inside UDF (UDF does not allow SET DATEFIRST). It will work for any valid dates, and you can...
November 2, 2005 at 6:38 am
Tishal, to mark a text inside text, you have to use two single quotes - not a double quote. In your case, just replace the " around dtproperties with ''...
November 1, 2005 at 2:15 am
Just a hunch... I don't know what precisely were you doing, but if you CREATED the table first and then used the import tools, it is quite possible, that the...
November 1, 2005 at 1:43 am
Hi,
this looks like example of hierarchy, though I can't be sure from such short example. Is it so that certain value of Field2 always has the same value in Field1.....
October 31, 2005 at 2:10 am
I'm not sure now where to post, whether here or in the other thread - but hopefully it doesn't matter. This is a very simplified function without any validity checks (whether...
October 27, 2005 at 4:55 am
If you are looking for a universal solution that would do all this, be able to accept name of column as a parameter and be used directly in a select...
October 26, 2005 at 7:19 am
From your description I don't understand, how do you know from which table which of the values should be? You have values 14, -1 and 11 that are ID in...
October 26, 2005 at 5:59 am
Viewing 15 posts - 916 through 930 (of 1,217 total)