Click here to Skip to main content
15,889,462 members
Home / Discussions / Database
   

Database

 
Questionwcf Pin
PraveenSura27-Jul-12 18:36
PraveenSura27-Jul-12 18:36 
GeneralRe: wcf Pin
jschell28-Jul-12 6:44
jschell28-Jul-12 6:44 
AnswerRe: wcf Pin
Wes Aday28-Jul-12 9:11
professionalWes Aday28-Jul-12 9:11 
QuestionSQL - Finding same product in different waehouse where price is not the same Pin
Richard.Berry10026-Jul-12 1:24
Richard.Berry10026-Jul-12 1:24 
AnswerRe: SQL - Finding same product in different waehouse where price is not the same Pin
David Mujica26-Jul-12 2:12
David Mujica26-Jul-12 2:12 
GeneralRe: SQL - Finding same product in different waehouse where price is not the same Pin
Richard.Berry10026-Jul-12 4:47
Richard.Berry10026-Jul-12 4:47 
GeneralCool Pin
David Mujica26-Jul-12 7:03
David Mujica26-Jul-12 7:03 
GeneralRe: SQL - Finding same product in different waehouse where price is not the same Pin
Michael Potter27-Jul-12 9:41
Michael Potter27-Jul-12 9:41 
Your query will only work if you have 2 warehouses. What happens if there are 3 or more? Try:

SQL
SELECT
    a.warehouse,
    a.product,
    a.standard_material
FROM
    scheme_stockm AS a
WHERE
    EXISTS (SELECT * 
            FROM scheme_stockm 
            WHERE product = a.product AND 
                  standard_material <> a.standard_material)
ORDER BY
    a.product,
    a.warehouse

GeneralRe: SQL - Finding same product in different waehouse where price is not the same Pin
Richard.Berry10028-Jul-12 6:35
Richard.Berry10028-Jul-12 6:35 
QuestionSearching Content of Documents in Database Pin
ASPnoob24-Jul-12 11:03
ASPnoob24-Jul-12 11:03 
AnswerRe: Searching Content of Documents in Database Pin
Eddy Vluggen24-Jul-12 12:32
professionalEddy Vluggen24-Jul-12 12:32 
AnswerRe: Searching Content of Documents in Database Pin
Mycroft Holmes24-Jul-12 14:16
professionalMycroft Holmes24-Jul-12 14:16 
QuestionRe: Searching Content of Documents in Database Pin
Eddy Vluggen24-Jul-12 23:29
professionalEddy Vluggen24-Jul-12 23:29 
AnswerRe: Searching Content of Documents in Database Pin
StianSandberg25-Jul-12 0:00
StianSandberg25-Jul-12 0:00 
AnswerRe: Searching Content of Documents in Database Pin
jschell25-Jul-12 7:26
jschell25-Jul-12 7:26 
AnswerRe: Searching Content of Documents in Database Pin
Michael Potter25-Jul-12 11:03
Michael Potter25-Jul-12 11:03 
GeneralRe: Searching Content of Documents in Database Pin
Mycroft Holmes25-Jul-12 13:00
professionalMycroft Holmes25-Jul-12 13:00 
GeneralRe: Searching Content of Documents in Database Pin
Peter_in_278025-Jul-12 14:17
professionalPeter_in_278025-Jul-12 14:17 
QuestionSET NOCOUNT Pin
Member 348763223-Jul-12 23:07
Member 348763223-Jul-12 23:07 
QuestionRe: SET NOCOUNT Pin
Eddy Vluggen24-Jul-12 0:18
professionalEddy Vluggen24-Jul-12 0:18 
AnswerRe: SET NOCOUNT Pin
Bernhard Hiller24-Jul-12 0:33
Bernhard Hiller24-Jul-12 0:33 
GeneralRe: SET NOCOUNT Pin
Member 348763224-Jul-12 0:48
Member 348763224-Jul-12 0:48 
AnswerRe: SET NOCOUNT Pin
Eddy Vluggen24-Jul-12 2:34
professionalEddy Vluggen24-Jul-12 2:34 
GeneralRe: SET NOCOUNT Pin
Member 348763224-Jul-12 5:41
Member 348763224-Jul-12 5:41 
GeneralRe: SET NOCOUNT Pin
Eddy Vluggen24-Jul-12 7:31
professionalEddy Vluggen24-Jul-12 7:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.