Click here to Skip to main content
16,009,728 members
Home / Discussions / Database
   

Database

 
GeneralPerformance solution for DataSet application with large numbers of records Pin
Aron van Ammers30-Oct-04 6:49
Aron van Ammers30-Oct-04 6:49 
Generalmoney datatype insert problem Pin
webhay29-Oct-04 14:07
webhay29-Oct-04 14:07 
GeneralRe: money datatype insert problem Pin
Aron van Ammers30-Oct-04 6:55
Aron van Ammers30-Oct-04 6:55 
GeneralAccessing DB2 using ADO.Net, C# Pin
shri300928-Oct-04 20:42
shri300928-Oct-04 20:42 
GeneralRe: Accessing DB2 using ADO.Net, C# Pin
28-Oct-04 22:11
suss28-Oct-04 22:11 
Generalupdate dataset with changes in database Pin
CNU28-Oct-04 16:19
CNU28-Oct-04 16:19 
GeneralNo value given for ine or more given requirements Pin
jlawren728-Oct-04 14:56
jlawren728-Oct-04 14:56 
GeneralRe: No value given for ine or more given requirements Pin
Edbert P28-Oct-04 21:21
Edbert P28-Oct-04 21:21 
If you only put last name, the SQL statement will be like

SELECT * FROM Users WHERE Last_Name = 'LName' AND FName = ''

Most likely it won't return you anything as there won't be a person with FName = ''
The easiest way is to use AND FName LIKE'" & strSearchFName & "%'"
The recommended way is to make sure your SQL is correct (build a dynamic SQL, e.g. remove FName from condition if FName is not supplied)

Hope it helps,

Edbert P.
Sydney, Australia.
Generalhelp with SQL output Pin
naifq228-Oct-04 10:48
naifq228-Oct-04 10:48 
GeneralRe: help with SQL output Pin
Christian Graus28-Oct-04 11:34
protectorChristian Graus28-Oct-04 11:34 
GeneralRe: help with SQL output Pin
Anonymous28-Oct-04 11:41
Anonymous28-Oct-04 11:41 
GeneralRe: help with SQL output Pin
Christian Graus28-Oct-04 11:52
protectorChristian Graus28-Oct-04 11:52 
GeneralRe: help with SQL output Pin
naifq228-Oct-04 13:01
naifq228-Oct-04 13:01 
Generalhelp with SQL query Pin
naifq228-Oct-04 10:44
naifq228-Oct-04 10:44 
GeneralRe: help with SQL query Pin
Anonymous28-Oct-04 13:54
Anonymous28-Oct-04 13:54 
GeneralSQL Server Transaction vs ADO.Net Transaction Pin
Ketty Avashia28-Oct-04 5:24
Ketty Avashia28-Oct-04 5:24 
Generala general question regrding SQL and IP address Pin
hasanali0028-Oct-04 5:14
hasanali0028-Oct-04 5:14 
GeneralRe: a general question regrding SQL and IP address Pin
Colin Angus Mackay28-Oct-04 6:57
Colin Angus Mackay28-Oct-04 6:57 
GeneralRe: a general question regrding SQL and IP address Pin
hasanali0028-Oct-04 23:32
hasanali0028-Oct-04 23:32 
GeneralReturn parameters in Strored procedures Pin
Abbas_Riazi28-Oct-04 0:47
professionalAbbas_Riazi28-Oct-04 0:47 
GeneralRe: Return parameters in Strored procedures Pin
Mike Dimmick28-Oct-04 2:07
Mike Dimmick28-Oct-04 2:07 
GeneralRe: Return parameters in Strored procedures Pin
cnet20083-Nov-04 15:28
cnet20083-Nov-04 15:28 
GeneralRetreival Of Data Pin
benito198127-Oct-04 14:07
benito198127-Oct-04 14:07 
GeneralRe: Retreival Of Data Pin
Christian Graus27-Oct-04 14:17
protectorChristian Graus27-Oct-04 14:17 
GeneralRe: Retreival Of Data Pin
benito198127-Oct-04 14:28
benito198127-Oct-04 14:28 

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.