Click here to Skip to main content
15,893,644 members
Home / Discussions / Database
   

Database

 
Questionreference data from database to textboxes Pin
RaveRare26-Aug-07 22:29
RaveRare26-Aug-07 22:29 
AnswerRe: reference data from database to textboxes Pin
Colin Angus Mackay27-Aug-07 0:56
Colin Angus Mackay27-Aug-07 0:56 
QuestionOh No, How this happened???? Pin
RaveRare26-Aug-07 20:21
RaveRare26-Aug-07 20:21 
QuestionDatabase Login Pin
Bonsta26-Aug-07 8:47
Bonsta26-Aug-07 8:47 
AnswerRe: Database Login Pin
Marek Grzenkowicz26-Aug-07 21:43
Marek Grzenkowicz26-Aug-07 21:43 
QuestionWhy the Column from Type BigInt must have name [Size] in SQL 2000 to work well ?!! Pin
I Believe In GOD26-Aug-07 5:39
I Believe In GOD26-Aug-07 5:39 
AnswerRe: Why the Column from Type BigInt must have name [Size] in SQL 2000 to work well ?!! Pin
Michael Sync26-Aug-07 17:44
Michael Sync26-Aug-07 17:44 
QuestionPleaes help me with this query Pin
Meysam Mahfouzi26-Aug-07 4:22
Meysam Mahfouzi26-Aug-07 4:22 
I've got a table like this:

title	|	value	|	keyId
-----------------------------
aaa	|	10	|   	1
aaa   	|   	11  	|   	2
bbb   	|  	10 	|	1
ccc   	| 	11 	| 	2


How can I retrieve "title"s which meet this condition: (keyId=1 and value=10) and (keyId=2 and value=11)

The desired output for above query should be 'aaa'.

Please notice that the following query:
SELECT * FROM table WHERE (keyId=1 AND value=10) AND (keyId=2 AND value=11)

returns nothing, and the following query:

SELECT * FROM table WHERE (keyId=1 AND value=10) OR (keyId=2 AND value=11)

returns all rows while only the first two records are desired.

Please help me!
AnswerRe: Pleaes help me with this query Pin
Colin Angus Mackay26-Aug-07 5:35
Colin Angus Mackay26-Aug-07 5:35 
GeneralRe: Pleaes help me with this query Pin
Meysam Mahfouzi26-Aug-07 11:32
Meysam Mahfouzi26-Aug-07 11:32 
GeneralRe: Pleaes help me with this query Pin
Colin Angus Mackay26-Aug-07 11:44
Colin Angus Mackay26-Aug-07 11:44 
GeneralRe: Pleaes help me with this query Pin
Meysam Mahfouzi28-Aug-07 3:25
Meysam Mahfouzi28-Aug-07 3:25 
AnswerRe: Pleaes help me with this query Pin
Michael Potter27-Aug-07 5:41
Michael Potter27-Aug-07 5:41 
GeneralRe: Pleaes help me with this query Pin
Meysam Mahfouzi28-Aug-07 3:08
Meysam Mahfouzi28-Aug-07 3:08 
GeneralRe: Pleaes help me with this query Pin
Colin Angus Mackay28-Aug-07 6:55
Colin Angus Mackay28-Aug-07 6:55 
GeneralRe: Pleaes help me with this query Pin
Meysam Mahfouzi28-Aug-07 21:38
Meysam Mahfouzi28-Aug-07 21:38 
QuestionProblem with cursor Pin
Developer61126-Aug-07 4:06
Developer61126-Aug-07 4:06 
AnswerRe: Problem with cursor [modified] Pin
John-ph26-Aug-07 20:10
John-ph26-Aug-07 20:10 
AnswerRe: Problem with cursor Pin
John-ph26-Aug-07 21:08
John-ph26-Aug-07 21:08 
Questionconnect to MYSQL database located on web Pin
Rupesh Kumar Swami25-Aug-07 23:19
Rupesh Kumar Swami25-Aug-07 23:19 
QuestionHow to drop builtin\administrators account from sql server Pin
Developer61125-Aug-07 22:39
Developer61125-Aug-07 22:39 
AnswerRe: How to drop builtin\administrators account from sql server Pin
Mark Churchill26-Aug-07 18:07
Mark Churchill26-Aug-07 18:07 
GeneralRe: How to drop builtin\administrators account from sql server Pin
Developer61126-Aug-07 19:35
Developer61126-Aug-07 19:35 
GeneralRe: How to drop builtin\administrators account from sql server Pin
Burnsys229-Aug-07 4:35
Burnsys229-Aug-07 4:35 
Questionoutput to struct Pin
ginjikun25-Aug-07 6:53
ginjikun25-Aug-07 6:53 

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.