Click here to Skip to main content
16,014,940 members
Home / Discussions / Database
   

Database

 
QuestionSubstracting dates in Oracle Pin
Diego F.6-Jun-07 21:49
Diego F.6-Jun-07 21:49 
AnswerRe: Substracting dates in Oracle Pin
Sathesh Sakthivel6-Jun-07 22:19
Sathesh Sakthivel6-Jun-07 22:19 
GeneralRe: Substracting dates in Oracle Pin
Diego F.6-Jun-07 22:50
Diego F.6-Jun-07 22:50 
QuestionImage Data type Comparision Pin
LishaDamian6-Jun-07 20:56
LishaDamian6-Jun-07 20:56 
AnswerRe: Image Data type Comparision Pin
Sathesh Sakthivel6-Jun-07 21:05
Sathesh Sakthivel6-Jun-07 21:05 
Question"data Source=?" to access my website database Pin
multimedia96-Jun-07 19:39
multimedia96-Jun-07 19:39 
AnswerRe: "data Source=?" to access my website database Pin
Paul Conrad7-Jun-07 3:52
professionalPaul Conrad7-Jun-07 3:52 
QuestionSyntax I Can't Understand Pin
Richard Andrew x646-Jun-07 17:05
professionalRichard Andrew x646-Jun-07 17:05 
Can someone help me understand the meaning of this query I found in a stored procedure in a SQL Server 2005 database?

SELECT @varMID = master_id 
FROM tbl_link 
WHERE email_address=(SELECT @@identity)


The part I don't understand is the WHERE clause:

1. What does it mean when an identifier is prefixed by TWO '@' chars instead of just one? ( There is no variable declaration for 'identity', BTW. )

2. Is it even a valid SQL statement that appears in the parenthesis, and if so, is it querying from tbl_link ?

Thank you very much for any help!

--------------------------------

"All that is necessary for the forces of evil to win in the world is for enough good men to do nothing" -- Edmund Burke

AnswerRe: Syntax I Can't Understand Pin
Harini N K6-Jun-07 18:55
Harini N K6-Jun-07 18:55 
GeneralRe: Syntax I Can't Understand Pin
Richard Andrew x646-Jun-07 19:36
professionalRichard Andrew x646-Jun-07 19:36 
AnswerRe: Syntax I Can't Understand Pin
dotnetSong6-Jun-07 19:08
dotnetSong6-Jun-07 19:08 
GeneralRe: Syntax I Can't Understand Pin
Richard Andrew x646-Jun-07 19:36
professionalRichard Andrew x646-Jun-07 19:36 
QuestionUnique Long ID's in SQL Server 2005 Pin
Mike L.6-Jun-07 14:14
Mike L.6-Jun-07 14:14 
AnswerRe: Unique Long ID's in SQL Server 2005 Pin
Mike Dimmick6-Jun-07 14:49
Mike Dimmick6-Jun-07 14:49 
GeneralRe: Unique Long ID's in SQL Server 2005 Pin
Mike L.6-Jun-07 15:55
Mike L.6-Jun-07 15:55 
QuestionUpdating a record with DBTIMESTAMP in C++ Pin
Mark Kunkel6-Jun-07 9:48
Mark Kunkel6-Jun-07 9:48 
AnswerRe: Updating a record with DBTIMESTAMP in C++ Pin
Mike Dimmick6-Jun-07 11:45
Mike Dimmick6-Jun-07 11:45 
QuestionMust declare the scalar variable "@date"???? Pin
gritter6-Jun-07 8:31
gritter6-Jun-07 8:31 
AnswerRe: Must declare the scalar variable "@date"???? Pin
andyharman6-Jun-07 8:51
professionalandyharman6-Jun-07 8:51 
GeneralRe: Must declare the scalar variable "@date"???? Pin
gritter6-Jun-07 9:25
gritter6-Jun-07 9:25 
QuestionHow to move existing controls to access form groupbox? Pin
Dan Neely6-Jun-07 5:44
Dan Neely6-Jun-07 5:44 
AnswerRe: How to move existing controls to access form groupbox? Pin
Giorgi Dalakishvili6-Jun-07 5:54
mentorGiorgi Dalakishvili6-Jun-07 5:54 
GeneralRe: How to move existing controls to access form groupbox? Pin
Dan Neely6-Jun-07 7:18
Dan Neely6-Jun-07 7:18 
AnswerRe: How to move existing controls to access form groupbox? Pin
Mike Dimmick6-Jun-07 11:47
Mike Dimmick6-Jun-07 11:47 
Questionhow to know the datatype of a field in a database? Pin
kalaveer6-Jun-07 2:15
kalaveer6-Jun-07 2:15 

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.