Click here to Skip to main content
16,007,610 members
Home / Discussions / Database
   

Database

 
GeneralRe: search in records Pin
Mazdak10-Feb-02 20:45
Mazdak10-Feb-02 20:45 
GeneralSqlBinary to Integer Pin
Steve Severance4-Feb-02 9:26
Steve Severance4-Feb-02 9:26 
Generalvarchar(1024) truncated to 255 Chars Pin
28-Jan-02 15:13
suss28-Jan-02 15:13 
GeneralRe: varchar(1024) truncated to 255 Chars Pin
1-Feb-02 6:15
suss1-Feb-02 6:15 
QuestionDELETE FROM ... not affecting the table? Pin
David Wulff28-Jan-02 14:45
David Wulff28-Jan-02 14:45 
AnswerRe: DELETE FROM ... not affecting the table? Pin
SimonS28-Jan-02 20:28
SimonS28-Jan-02 20:28 
GeneralRe: DELETE FROM ... not affecting the table? Pin
David Wulff31-Jan-02 4:16
David Wulff31-Jan-02 4:16 
AnswerRe: DELETE FROM ... not affecting the table? Pin
Andrew Peace30-Jan-02 11:35
Andrew Peace30-Jan-02 11:35 
As is said above, basically, you need to specify the columns to operate on as well (you could just delete data from certain columns, something I've never tried). Just bung a * after DELETE, as if you were doing a SELECT operation.

Also, I don't use spaces around '=' in SQL, I don't know if this is permitted or not, you might wanna check that out (presumably if you done it elsewhere it's fine).

The reason it's returning success is because you're not actually telling it to delete anything at all. Hope that helps.

--
Andrew.
GeneralRe: DELETE FROM ... not affecting the table? Pin
David Wulff31-Jan-02 4:15
David Wulff31-Jan-02 4:15 
GeneralRe: DELETE FROM ... not affecting the table? Pin
Andrew Peace3-Feb-02 13:39
Andrew Peace3-Feb-02 13:39 
GeneralRe: DELETE FROM ... not affecting the table? Pin
David Wulff3-Feb-02 14:16
David Wulff3-Feb-02 14:16 
GeneralRe: DELETE FROM ... not affecting the table? Pin
David Wulff10-Feb-02 8:00
David Wulff10-Feb-02 8:00 
GeneralRe: DELETE FROM ... not affecting the table? Pin
Andrew Peace10-Feb-02 8:45
Andrew Peace10-Feb-02 8:45 
GeneralRe: DELETE FROM ... not affecting the table? Pin
David Wulff10-Feb-02 8:56
David Wulff10-Feb-02 8:56 
GeneralRe: DELETE FROM ... not affecting the table? Pin
Andrew Peace10-Feb-02 9:11
Andrew Peace10-Feb-02 9:11 
GeneralRe: DELETE FROM ... not affecting the table? Pin
David Wulff10-Feb-02 10:49
David Wulff10-Feb-02 10:49 
AnswerRe: DELETE FROM ... not affecting the table? Pin
Matt Gullett10-Feb-02 9:04
Matt Gullett10-Feb-02 9:04 
GeneralRe: DELETE FROM ... not affecting the table? Pin
David Wulff10-Feb-02 10:00
David Wulff10-Feb-02 10:00 
GeneralSQL Authentication Pin
Mike Osbahr28-Jan-02 4:32
Mike Osbahr28-Jan-02 4:32 
Generalset Request Value option on the field ! Pin
Hadi Rezaee27-Jan-02 10:15
Hadi Rezaee27-Jan-02 10:15 
GeneralOLE-DB connection Pin
User 988527-Jan-02 7:01
User 988527-Jan-02 7:01 
QuestionCan you show me about SQL Server 7.0 Pin
25-Jan-02 7:39
suss25-Jan-02 7:39 
AnswerRe: Can you show me about SQL Server 7.0 Pin
Carlos Antollini25-Jan-02 7:51
Carlos Antollini25-Jan-02 7:51 
GeneralSpecifying a connection should use TCP/IP Pin
James T. Johnson24-Jan-02 12:23
James T. Johnson24-Jan-02 12:23 
GeneralRe: Specifying a connection should use TCP/IP Pin
AndyG26-Jan-02 8:22
AndyG26-Jan-02 8:22 

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.