Click here to Skip to main content
15,900,258 members
Home / Discussions / Database
   

Database

 
GeneralRe: Setting default value to a column Pin
Sylvester george18-Jun-07 20:25
Sylvester george18-Jun-07 20:25 
GeneralDeleting two tables on different databases located in different servers Pin
N a v a n e e t h18-Jun-07 18:22
N a v a n e e t h18-Jun-07 18:22 
GeneralRe: Deleting two tables on different databases located in different servers Pin
vimal_yet18-Jun-07 19:13
vimal_yet18-Jun-07 19:13 
GeneralRe: Deleting two tables on different databases located in different servers Pin
N a v a n e e t h18-Jun-07 19:32
N a v a n e e t h18-Jun-07 19:32 
GeneralRe: Deleting two tables on different databases located in different servers Pin
vimal_yet18-Jun-07 21:22
vimal_yet18-Jun-07 21:22 
Questionpass the values Pin
seemamltn18-Jun-07 13:17
seemamltn18-Jun-07 13:17 
AnswerRe: pass the values Pin
Colin Angus Mackay18-Jun-07 13:27
Colin Angus Mackay18-Jun-07 13:27 
GeneralRe: pass the values Pin
seemamltn18-Jun-07 13:32
seemamltn18-Jun-07 13:32 
Hi,

Here is my Specs. I created Stored Procedure Which I posted befor.for meeting the requriements
I will be really grateful if you could solve my problem.


I have a table which has a field "tcktReceived" of type datetime. I
have a grid view which has two columns.


In first column i have to show the data from field "tcktReceived" and
in second column I have to show
difference between Currenttime and date from tcktReceived.


e'g


ItemRecieved Difference
6/13/2007 12:38am 1d 21h 45m
6/13/2007 3:54pm 1d 06h 10m
6/15/2007 12:26pm 34m


So the second coulmn displays the difference of current time minus
ItemRecieved. the format shouild be <mintues>m,
or<hours>h, <mintues>m, or <days>d.


How can I do that.


Thanks in advance




seema

GeneralRe: pass the values Pin
Colin Angus Mackay18-Jun-07 14:26
Colin Angus Mackay18-Jun-07 14:26 
QuestionReturn Value from Stored Procedure Pin
seemamltn18-Jun-07 9:47
seemamltn18-Jun-07 9:47 
AnswerRe: Return Value from Stored Procedure Pin
Colin Angus Mackay18-Jun-07 13:18
Colin Angus Mackay18-Jun-07 13:18 
QuestionError message Pin
seemamltn18-Jun-07 9:43
seemamltn18-Jun-07 9:43 
AnswerRe: Error message Pin
andyharman19-Jun-07 7:23
professionalandyharman19-Jun-07 7:23 
QuestionStored Proc Pin
seemamltn18-Jun-07 8:51
seemamltn18-Jun-07 8:51 
AnswerRe: Stored Proc Pin
Colin Angus Mackay18-Jun-07 9:22
Colin Angus Mackay18-Jun-07 9:22 
GeneralRe: Stored Proc Pin
seemamltn18-Jun-07 9:43
seemamltn18-Jun-07 9:43 
GeneralRe: Stored Proc Pin
Colin Angus Mackay18-Jun-07 13:10
Colin Angus Mackay18-Jun-07 13:10 
QuestionSet Time Part Of DateTime Pin
Polymorpher18-Jun-07 7:41
Polymorpher18-Jun-07 7:41 
QuestionCDATA Sections in For XML query Pin
GaryWoodfine 18-Jun-07 6:28
professionalGaryWoodfine 18-Jun-07 6:28 
QuestionDatabase documentation tool recommendations? Pin
Max Stayner18-Jun-07 4:55
Max Stayner18-Jun-07 4:55 
QuestionQuery sql datatype Sql server 2005 [modified] Pin
Chazzysb18-Jun-07 4:31
Chazzysb18-Jun-07 4:31 
QuestionGet Value Pin
Navneet Hegde18-Jun-07 0:24
Navneet Hegde18-Jun-07 0:24 
AnswerRe: Get Value Pin
Sylvester george18-Jun-07 1:07
Sylvester george18-Jun-07 1:07 
GeneralRe: Get Value Pin
Navneet Hegde18-Jun-07 1:21
Navneet Hegde18-Jun-07 1:21 
GeneralRe: Get Value Pin
Sylvester george18-Jun-07 1:52
Sylvester george18-Jun-07 1:52 

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.