Quantcast
Channel: CSharp Forum Latest Questions
Viewing all articles
Browse latest Browse all 32060

Inserting system full date & time problem in silverlight

$
0
0
can any one help me to solve this my problem regarding the fetching system full date & time 

`Insert into problem_register (problem_reg_srno,dpsrno,invsrno,problem_description,reporteddate)values
(seq_problem_reg_srno.NEXTVAL,'7','198 ',' mouse problem ',(select to_date(sysdate, 'mm-dd-yyyy hh24:mi:ss')from dual));`enter code here`

with using this query I only get date not system time


`Insert into problem_register (problem_reg_srno,dpsrno,invsrno,problem_description,reporteddate)values
(seq_problem_reg_srno.NEXTVAL,'7','198 ',' mouse problem ',(select to_char(sysdate, 'mm-dd-yyyy hh24:mi:ss')from dual));`enter code here`


this shows error like  


    ORA-01830: date format picture ends before converting entire input string

Viewing all articles
Browse latest Browse all 32060

Trending Articles