Click here to Skip to main content
15,888,329 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Server 2005 Express and MSDE Pin
Aisha Ikram2-Jul-07 0:15
Aisha Ikram2-Jul-07 0:15 
QuestionInserting a item into a combo box that is bound to a binding source. Pin
steve_rm29-Jun-07 4:35
steve_rm29-Jun-07 4:35 
AnswerRe: Inserting a item into a combo box that is bound to a binding source. Pin
Michael Potter29-Jun-07 8:29
Michael Potter29-Jun-07 8:29 
QuestionASP convert date Pin
Tom Francis29-Jun-07 3:35
Tom Francis29-Jun-07 3:35 
AnswerRe: ASP convert date Pin
leckey29-Jun-07 4:13
leckey29-Jun-07 4:13 
AnswerRe: ASP convert date Pin
SHatchard29-Jun-07 4:26
SHatchard29-Jun-07 4:26 
GeneralRe: ASP convert date Pin
Tom Francis29-Jun-07 5:19
Tom Francis29-Jun-07 5:19 
AnswerRe: ASP convert date Pin
Mike Dimmick29-Jun-07 7:03
Mike Dimmick29-Jun-07 7:03 
Normal rules apply: for values that can change, particularly ones supplied by the user, you should use a parameterized query. You should only break this rule if your database provider doesn't support parameterized queries.

In classic ADO, use the Command object's Parameters collection. See your provider's documentation for how to indicate a parameter (for SQL Server, you can use named parameters by using an @ symbol followed by a name). Some providers only support positional parameters.

For a date/time value, you probably want the adDBTimeStamp data type for your parameter. You'll have to convert the value in your input box into a VBScript Date value. For that you probably need the DateSerial function.

Stability. What an interesting concept. -- Chris Maunder

QuestionRegarding stored procedure parameters Pin
mukkanti00729-Jun-07 1:55
mukkanti00729-Jun-07 1:55 
AnswerRe: Regarding stored procedure parameters Pin
kubben29-Jun-07 2:01
kubben29-Jun-07 2:01 
NewsNAKRA FINAL Pin
NAKRAINC29-Jun-07 1:45
NAKRAINC29-Jun-07 1:45 
Questionhow to enter date Pin
ArchaBhandare29-Jun-07 0:37
ArchaBhandare29-Jun-07 0:37 
QuestionDate time storing null values Pin
Rajiya28-Jun-07 23:11
Rajiya28-Jun-07 23:11 
AnswerRe: Date time storing null values Pin
aamironline29-Jun-07 1:50
aamironline29-Jun-07 1:50 
GeneralRe: Date time storing null values Pin
Rajiya29-Jun-07 1:59
Rajiya29-Jun-07 1:59 
GeneralRe: Date time storing null values Pin
kguinn3-Jul-07 8:06
kguinn3-Jul-07 8:06 
QuestionDateTime value problem Pin
phantanagu28-Jun-07 22:50
phantanagu28-Jun-07 22:50 
AnswerRe: DateTime value problem Pin
kubben29-Jun-07 1:57
kubben29-Jun-07 1:57 
Questioni Problem in Installing SQL7 localy Pin
Vimalsoft(Pty) Ltd28-Jun-07 22:18
professionalVimalsoft(Pty) Ltd28-Jun-07 22:18 
AnswerRe: i Problem in Installing SQL7 localy Pin
Dave Kreskowiak29-Jun-07 7:56
mveDave Kreskowiak29-Jun-07 7:56 
AnswerRe: i Problem in Installing SQL7 localy Pin
Mike Dimmick29-Jun-07 14:43
Mike Dimmick29-Jun-07 14:43 
Questionspace in-between search parameters Pin
acodman28-Jun-07 22:18
acodman28-Jun-07 22:18 
AnswerRe: space in-between search parameters Pin
Sgg24529-Jun-07 0:36
Sgg24529-Jun-07 0:36 
AnswerRe: space in-between search parameters Pin
Sgg24529-Jun-07 0:39
Sgg24529-Jun-07 0:39 
NewsNAKRA Pin
NAKRAINC28-Jun-07 22:10
NAKRAINC28-Jun-07 22:10 

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.