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

Database

 
AnswerRe: Regarding Sql server [modified] Pin
Blue_Boy3-Aug-07 4:42
Blue_Boy3-Aug-07 4:42 
QuestionSelecting data between twodates?? Pin
Ron.S2-Aug-07 20:27
Ron.S2-Aug-07 20:27 
AnswerRe: Selecting data between twodates?? Pin
Blue_Boy2-Aug-07 21:18
Blue_Boy2-Aug-07 21:18 
QuestionHow to find duplicate record Pin
yogesh_kumar_agarwal2-Aug-07 18:17
yogesh_kumar_agarwal2-Aug-07 18:17 
AnswerRe: How to find duplicate record Pin
Blue_Boy2-Aug-07 21:25
Blue_Boy2-Aug-07 21:25 
QuestionOracle MetaData Dependency Pin
manish242-Aug-07 17:45
manish242-Aug-07 17:45 
QuestionThe last piece of a puzzle Pin
Sunset Towers2-Aug-07 12:36
Sunset Towers2-Aug-07 12:36 
AnswerRe: The last piece of a puzzle Pin
Christian Graus2-Aug-07 12:51
protectorChristian Graus2-Aug-07 12:51 
declare @accountId int

select @accountID = AccountId from table where col2 = 1

You may want to put a 'top 1' in there, and an if exists (select blah, to make sure that there is at least one, and that you only grab one. I know you're saying it will always work, but better to be sure.


Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

QuestionImporting a Tab delimited report file Pin
Jack Fleet2-Aug-07 9:23
Jack Fleet2-Aug-07 9:23 
AnswerRe: Importing a Tab delimited report file Pin
leckey2-Aug-07 9:42
leckey2-Aug-07 9:42 
GeneralRe: Importing a Tab delimited report file Pin
Jack Fleet2-Aug-07 9:52
Jack Fleet2-Aug-07 9:52 
GeneralRe: Importing a Tab delimited report file Pin
pmarfleet2-Aug-07 12:39
pmarfleet2-Aug-07 12:39 
GeneralRe: Importing a Tab delimited report file Pin
Jack Fleet3-Aug-07 12:26
Jack Fleet3-Aug-07 12:26 
QuestionMySQL/ODBC Table will not Update from DataGrid [modified] Pin
][cecu3e2-Aug-07 6:52
][cecu3e2-Aug-07 6:52 
Questiondriver help Pin
boyindie2-Aug-07 4:56
boyindie2-Aug-07 4:56 
Questionreturning free numbers Pin
ArielR2-Aug-07 4:30
ArielR2-Aug-07 4:30 
AnswerRe: returning free numbers Pin
kubben2-Aug-07 7:22
kubben2-Aug-07 7:22 
AnswerRe: returning free numbers Pin
Michael Potter2-Aug-07 9:16
Michael Potter2-Aug-07 9:16 
GeneralRe: returning free numbers Pin
ArielR2-Aug-07 13:06
ArielR2-Aug-07 13:06 
GeneralRe: returning free numbers Pin
Michael Potter3-Aug-07 10:13
Michael Potter3-Aug-07 10:13 
GeneralRe: returning free numbers Pin
DQNOK3-Aug-07 10:32
professionalDQNOK3-Aug-07 10:32 
GeneralRe: returning free numbers Pin
Michael Potter3-Aug-07 13:35
Michael Potter3-Aug-07 13:35 
QuestionSimple E-mail functionality Pin
Bonsta2-Aug-07 4:26
Bonsta2-Aug-07 4:26 
AnswerRe: Simple E-mail functionality Pin
Sunset Towers2-Aug-07 7:21
Sunset Towers2-Aug-07 7:21 
QuestionCounting the Records in a Database for a Insert Statement Pin
Sunset Towers2-Aug-07 3:25
Sunset Towers2-Aug-07 3:25 

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.