Click here to Skip to main content
16,021,211 members
Home / Discussions / Database
   

Database

 
AnswerRe: Getting a numbered list to come out of ORDER BY just right Pin
David Mujica9-Feb-11 9:32
David Mujica9-Feb-11 9:32 
GeneralRe: Getting a numbered list to come out of ORDER BY just right Pin
Brian C Hart9-Feb-11 9:45
professionalBrian C Hart9-Feb-11 9:45 
AnswerRe: Getting a numbered list to come out of ORDER BY just right Pin
Chris Meech9-Feb-11 9:50
Chris Meech9-Feb-11 9:50 
GeneralRe: Getting a numbered list to come out of ORDER BY just right Pin
Brian C Hart9-Feb-11 10:00
professionalBrian C Hart9-Feb-11 10:00 
QuestionDynamic query in SQL Pin
siva4558-Feb-11 22:11
siva4558-Feb-11 22:11 
AnswerRe: Dynamic query in SQL Pin
Simon_Whale8-Feb-11 22:19
Simon_Whale8-Feb-11 22:19 
AnswerRe: Dynamic query in SQL Pin
Dalek Dave9-Feb-11 13:07
professionalDalek Dave9-Feb-11 13:07 
QuestionUnwanted recordset behaviour !!! Pin
scorp_scorp7-Feb-11 21:20
scorp_scorp7-Feb-11 21:20 
Dear all,
I have the following:
set rs = db.openrecordset ("select fname, lname from employee")
while not rs.EOF
with rs
.delete
end with
rs.movenext
loop


When the code is run, data is directly deleted from my actuall table??? i dont want this to happen, i want to initialize this recordset and refill it with another data.
it is deleting the table records directly even without updating (.Update) !!!

I need an empty recordset to work on. The only way (i know) to create a recordset is to create one from a given table through an SQL stat. I couldnt find a way to create an empty recordset from scratsh or a dummy recordset without a predefined data source.

Help !!!!
0 will always beats the 1.

AnswerRe: Unwanted recordset behaviour !!! Pin
Mycroft Holmes7-Feb-11 22:26
professionalMycroft Holmes7-Feb-11 22:26 
GeneralRe: Unwanted recordset behaviour !!! [modified] Pin
scorp_scorp7-Feb-11 23:16
scorp_scorp7-Feb-11 23:16 
GeneralRe: Unwanted recordset behaviour !!! Pin
Mycroft Holmes8-Feb-11 2:45
professionalMycroft Holmes8-Feb-11 2:45 
QuestionRe: Unwanted recordset behaviour !!! Pin
Chris Meech8-Feb-11 2:37
Chris Meech8-Feb-11 2:37 
AnswerRe: Unwanted recordset behaviour !!! Pin
Mycroft Holmes8-Feb-11 2:44
professionalMycroft Holmes8-Feb-11 2:44 
QuestionRe: Unwanted recordset behaviour !!! Pin
Chris Meech8-Feb-11 2:40
Chris Meech8-Feb-11 2:40 
QuestionRe: Unwanted recordset behaviour !!! [modified] Pin
scorp_scorp8-Feb-11 16:26
scorp_scorp8-Feb-11 16:26 
AnswerRe: Unwanted recordset behaviour !!! Pin
Jörgen Andersson8-Feb-11 22:31
professionalJörgen Andersson8-Feb-11 22:31 
GeneralRe: Unwanted recordset behaviour !!! Pin
scorp_scorp8-Feb-11 23:50
scorp_scorp8-Feb-11 23:50 
GeneralRe: Unwanted recordset behaviour !!! Pin
Jörgen Andersson9-Feb-11 0:31
professionalJörgen Andersson9-Feb-11 0:31 
GeneralRe: Unwanted recordset behaviour !!! Pin
scorp_scorp9-Feb-11 16:34
scorp_scorp9-Feb-11 16:34 
AnswerWhats wrong in this SQL stat. ???? [modified] FOUND THE SOLUTION Pin
scorp_scorp7-Feb-11 20:25
scorp_scorp7-Feb-11 20:25 
GeneralRe: Whats wrong in this SQL stat. ???? [modified] FOUND THE SOLUTION Pin
jschell8-Feb-11 8:47
jschell8-Feb-11 8:47 
QuestionUser Defined Function - Condition based tabel return ??? Pin
Paw Jershauge6-Feb-11 23:30
Paw Jershauge6-Feb-11 23:30 
AnswerRe: User Defined Function - Condition based tabel return ??? Pin
PIEBALDconsult7-Feb-11 1:49
mvePIEBALDconsult7-Feb-11 1:49 
GeneralRe: User Defined Function - Condition based tabel return ??? Pin
Paw Jershauge7-Feb-11 2:52
Paw Jershauge7-Feb-11 2:52 
AnswerRe: User Defined Function - Condition based tabel return ??? Pin
Ravi Sant7-Feb-11 3:05
Ravi Sant7-Feb-11 3:05 

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.