Click here to Skip to main content
15,891,431 members
Home / Discussions / Database
   

Database

 
GeneralRe: SQL Server networking Pin
JacquesDP15-Jan-07 22:46
JacquesDP15-Jan-07 22:46 
GeneralRe: SQL Server networking Pin
JacquesDP15-Jan-07 22:58
JacquesDP15-Jan-07 22:58 
GeneralRe: SQL Server networking Pin
Colin Angus Mackay16-Jan-07 0:01
Colin Angus Mackay16-Jan-07 0:01 
QuestionRe: SQL Server networking [modified] Pin
JacquesDP16-Jan-07 0:21
JacquesDP16-Jan-07 0:21 
AnswerRe: SQL Server networking Pin
JacquesDP16-Jan-07 17:20
JacquesDP16-Jan-07 17:20 
QuestionBindingSource setting RowState.Modified on unchanged rows! [modified] Pin
nzmike15-Jan-07 17:01
nzmike15-Jan-07 17:01 
QuestionSQLCLR Performance Issue Pin
fodonnel15-Jan-07 14:52
fodonnel15-Jan-07 14:52 
QuestionSQL DateDiff Question Pin
Hulicat15-Jan-07 14:21
Hulicat15-Jan-07 14:21 
Hello,

I have two columns I need to perform a diff on.

Query:
Select f2 startcall, f3 endcall from monkey$

Results:

StartCall................... ......... EndCall
2006-12-04 14:33:00......... 2006-12-04 14:34:00
2006-12-04 14:34:00......... 2006-12-04 14:35:00
2006-12-04 14:35:00......... 2006-12-04 14:36:00
2007-01-04 14:38:00......... 2007-01-04 14:39:00
2007-01-04 14:39:00......... 2007-01-04 14:40:00

When I run:
SELECT
DATEDIFF (second, f3, f2)

I get
“Invalid column name 'f2'.
Server: Msg 207, Level 16, State 1, Line 1
Invalid column name 'f3'.”

I would like to see length of each call.

What is the best way to achieve the desired results?

Any help or advice would be greatly appreciated.

Regards,
H


Regards,
Hulicat

AnswerRe: SQL DateDiff Question Pin
Jon Sagara15-Jan-07 14:25
Jon Sagara15-Jan-07 14:25 
GeneralRe: SQL DateDiff Question Pin
Hulicat15-Jan-07 14:45
Hulicat15-Jan-07 14:45 
Questionmost efficient way to create query... Pin
adairjk15-Jan-07 11:56
adairjk15-Jan-07 11:56 
AnswerRe: most efficient way to create query... Pin
Miszou15-Jan-07 12:28
Miszou15-Jan-07 12:28 
GeneralRe: most efficient way to create query... Pin
adairjk16-Jan-07 3:15
adairjk16-Jan-07 3:15 
GeneralRe: most efficient way to create query... Pin
Miszou16-Jan-07 17:09
Miszou16-Jan-07 17:09 
QuestionSQL Server 2005 Express and Database Diagrams Pin
Miszou15-Jan-07 8:42
Miszou15-Jan-07 8:42 
AnswerRe: SQL Server 2005 Express and Database Diagrams Pin
Colin Angus Mackay15-Jan-07 12:51
Colin Angus Mackay15-Jan-07 12:51 
AnswerRe: SQL Server 2005 Express and Database Diagrams Pin
Pete O'Hanlon15-Jan-07 22:53
mvePete O'Hanlon15-Jan-07 22:53 
Questionusing sp_MSForEachTable to delete data with a where clause [modified] Pin
PrashantJ15-Jan-07 5:10
PrashantJ15-Jan-07 5:10 
QuestionPlease Guide Me Pin
Ashish Porwal15-Jan-07 5:04
Ashish Porwal15-Jan-07 5:04 
Question[Message Deleted] Pin
Orcun Ozturk15-Jan-07 5:04
Orcun Ozturk15-Jan-07 5:04 
AnswerRe: Desktop Database! Pin
Kschuler15-Jan-07 9:51
Kschuler15-Jan-07 9:51 
GeneralRe: Desktop Database! Pin
Orcun Ozturk16-Jan-07 1:53
Orcun Ozturk16-Jan-07 1:53 
GeneralRe: Desktop Database! Pin
Kschuler16-Jan-07 2:57
Kschuler16-Jan-07 2:57 
GeneralDesktop Database! Pin
Orcun Ozturk16-Jan-07 3:07
Orcun Ozturk16-Jan-07 3:07 
QuestionHow to get all table's name ? In OdbcConnection Pin
mlqxj3567415-Jan-07 4:40
mlqxj3567415-Jan-07 4:40 

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.