Click here to Skip to main content
15,902,846 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to perform a search in a table with given more than one paramaters (SQL SERVER EXPRESS 2008)? Pin
Ashfield23-Sep-08 4:58
Ashfield23-Sep-08 4:58 
This is the sort of thing you need

select {column list}
from {table}
where (name = @name or postcode = @postcode)


Of course its up to you to decide whether to use OR or AND, and you also need to deal with nulls.


Hope this helps

Bob
Ashfield Consultants Ltd

AnswerRe: How to perform a search in a table with given more than one paramaters (SQL SERVER EXPRESS 2008)? Pin
nelsonpaixao23-Sep-08 13:13
nelsonpaixao23-Sep-08 13:13 
AnswerRe: How to perform a search in a table with given more than one paramaters (SQL SERVER EXPRESS 2008)? Pin
Kevin Horgan23-Oct-08 9:53
Kevin Horgan23-Oct-08 9:53 
Questionarray of string in procedure Pin
Shaista Shafiq23-Sep-08 0:59
Shaista Shafiq23-Sep-08 0:59 
AnswerRe: array of string in procedure Pin
Ashfield23-Sep-08 1:21
Ashfield23-Sep-08 1:21 
Questionhug database Pin
mahmoudinirat23-Sep-08 0:39
mahmoudinirat23-Sep-08 0:39 
AnswerRe: hug database Pin
ChandraRam23-Sep-08 1:06
ChandraRam23-Sep-08 1:06 
AnswerRe: hug database Pin
Ashfield23-Sep-08 1:22
Ashfield23-Sep-08 1:22 
QuestionRe: hug database Pin
nelsonpaixao23-Sep-08 14:49
nelsonpaixao23-Sep-08 14:49 
QuestionMemory Occupied by a table of a database Pin
sailesh_gupta22-Sep-08 20:02
sailesh_gupta22-Sep-08 20:02 
AnswerRe: Memory Occupied by a table of a database Pin
N a v a n e e t h22-Sep-08 20:12
N a v a n e e t h22-Sep-08 20:12 
QuestionHow to find the latest Pin
krishnan.s22-Sep-08 19:27
krishnan.s22-Sep-08 19:27 
AnswerRe: How to find the latest Pin
Ashfield22-Sep-08 21:24
Ashfield22-Sep-08 21:24 
GeneralRe: How to find the latest Pin
krishnan.s22-Sep-08 21:46
krishnan.s22-Sep-08 21:46 
GeneralRe: How to find the latest Pin
Ashfield23-Sep-08 1:19
Ashfield23-Sep-08 1:19 
AnswerRe: How to find the latest Pin
Wendelius23-Sep-08 8:11
mentorWendelius23-Sep-08 8:11 
GeneralRe: How to find the latest Pin
nelsonpaixao23-Sep-08 13:34
nelsonpaixao23-Sep-08 13:34 
AnswerRe: How to find the latest Pin
shiva.kore6-Sep-10 21:58
shiva.kore6-Sep-10 21:58 
QuestionTo Compare identical tables Pin
krishnan.s22-Sep-08 19:02
krishnan.s22-Sep-08 19:02 
AnswerRe: To Compare identical tables Pin
Wendelius23-Sep-08 7:54
mentorWendelius23-Sep-08 7:54 
Questionshow info msg about edits Pin
nelsonpaixao22-Sep-08 13:49
nelsonpaixao22-Sep-08 13:49 
QuestionSQL 2000 CC Expiration Issue Pin
jbryandavis22-Sep-08 8:08
jbryandavis22-Sep-08 8:08 
AnswerRe: SQL 2000 CC Expiration Issue Pin
Ashfield22-Sep-08 9:04
Ashfield22-Sep-08 9:04 
GeneralRe: SQL 2000 CC Expiration Issue Pin
nelsonpaixao23-Sep-08 13:46
nelsonpaixao23-Sep-08 13:46 
QuestionOpening and Copying Databases Pin
prithaa22-Sep-08 6:58
prithaa22-Sep-08 6:58 

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.