Click here to Skip to main content
15,896,468 members
Home / Discussions / Database
   

Database

 
QuestionRe: dymanic sql query Pin
nelsonpaixao5-Sep-08 13:26
nelsonpaixao5-Sep-08 13:26 
QuestionLastModifiedDate Pin
geekfromindia4-Sep-08 9:06
geekfromindia4-Sep-08 9:06 
AnswerRe: LastModifiedDate Pin
Wendelius4-Sep-08 9:45
mentorWendelius4-Sep-08 9:45 
GeneralRe: LastModifiedDate Pin
geekfromindia4-Sep-08 9:47
geekfromindia4-Sep-08 9:47 
GeneralRe: LastModifiedDate Pin
Wendelius4-Sep-08 10:12
mentorWendelius4-Sep-08 10:12 
GeneralRe: LastModifiedDate Pin
geekfromindia4-Sep-08 11:36
geekfromindia4-Sep-08 11:36 
GeneralRe: LastModifiedDate Pin
Wendelius4-Sep-08 11:41
mentorWendelius4-Sep-08 11:41 
AnswerRe: LastModifiedDate Pin
nelsonpaixao4-Sep-08 14:16
nelsonpaixao4-Sep-08 14:16 
Hi,

i don´t know if i can help you there but use sql getdatetime() function to get date automatically. You will get time when the procedure is triggered, don´t even need to ask nothing to the user.

I had a application on which i manage the login/logout process automatically, the user doesn´t even know that it exists

algorithm:

create table log_table(id int,user varchar(50),login smalldatetime, logout smalldatetime)

--in login procedure
insert into log_table(235,john,getdatetime(), null)

--in logout procedure
insert into log_table(235,john,null,getdatetime())

Good Luck Big Grin | :-D

nelsonpaixao@yahoo.com.br

GeneralRe: LastModifiedDate Pin
geekfromindia5-Sep-08 4:15
geekfromindia5-Sep-08 4:15 
QuestionHelp me with the query strings. Pin
shashi_code4-Sep-08 4:29
shashi_code4-Sep-08 4:29 
AnswerRe: Help me with the query strings. [modified] Pin
Blue_Boy4-Sep-08 5:21
Blue_Boy4-Sep-08 5:21 
GeneralRe: Help me with the query strings. Pin
Meenal Ronghe12-Sep-10 23:34
Meenal Ronghe12-Sep-10 23:34 
GeneralRe: Help me with the query strings. Pin
nelsonpaixao4-Sep-08 13:57
nelsonpaixao4-Sep-08 13:57 
AnswerRe: Help me with the query strings. Pin
ahsan sarfraz8-Sep-08 4:45
ahsan sarfraz8-Sep-08 4:45 
QuestionInserting data from an XML string in a table Pin
ONeil Tomlinson4-Sep-08 1:37
ONeil Tomlinson4-Sep-08 1:37 
AnswerRe: Inserting data from an XML string in a table Pin
Wendelius4-Sep-08 8:29
mentorWendelius4-Sep-08 8:29 
QuestionBcp error Pin
si_694-Sep-08 0:29
si_694-Sep-08 0:29 
AnswerRe: Bcp error Pin
Wendelius4-Sep-08 8:26
mentorWendelius4-Sep-08 8:26 
QuestionReg: Handling Text Column in Trigger implementation Pin
Member 40084923-Sep-08 23:38
Member 40084923-Sep-08 23:38 
AnswerRe: Reg: Handling Text Column in Trigger implementation Pin
Wendelius4-Sep-08 8:17
mentorWendelius4-Sep-08 8:17 
QuestionUnion query.. I guess:) Pin
Muammar©3-Sep-08 9:19
Muammar©3-Sep-08 9:19 
AnswerRe: Union query.. I guess:) Pin
TheFM2343-Sep-08 9:32
TheFM2343-Sep-08 9:32 
GeneralRe: Union query.. I guess:) Pin
Muammar©3-Sep-08 9:51
Muammar©3-Sep-08 9:51 
GeneralRe: Union query.. I guess:) Pin
Muammar©3-Sep-08 10:33
Muammar©3-Sep-08 10:33 
AnswerRe: Union query.. I guess:) Pin
Wendelius3-Sep-08 9:35
mentorWendelius3-Sep-08 9:35 

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.