Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 coding a drop of a column
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

crash
Advanced Member

Netherlands
2064 Posts

Posted - 03 March 2002 :  17:54:49  Show Profile  Visit crash's Homepage
what i want is to create a DBS file which drops certain columns and values in columns.

TABLE 1:
table name: CONFIG_NEW
table values to drop: strSomething and strSomething2 (from column C_VARIABLE) (but i need the values in C_VALUE deleted as well)
TABLE 2:
table name: MEMBERS
table columns to drop: M_SOMETHING and M_SOMETHING2

can someone please tell me how to do this?

i tried this:

[DELETE]
CONFIG_NEW
C_VARIABLE = 'strSomething'
C_VARIABLE = 'strSomething2'
[END]
[DELETE]
MEMBERS
M_SOMETHING
M_SOMETHING2
[END]


but that tells me that
-2147467259 | Cannot delete a field that is part of an index or is needed by the system


and
9 | Subscript out of range



-----------------------------
Crash's Site | Email me

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 03 March 2002 :  18:19:26  Show Profile
That's wierd, didn't I already post a reply to this?

Nikkol
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 03 March 2002 :  18:27:51  Show Profile  Visit crash's Homepage
true

-----------------------------
Crash's Site | Email me
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 03 March 2002 :  20:00:14  Show Profile
Duplicate post, see here

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=23850


======
Doug G
======
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.27 seconds. Powered By: Snitz Forums 2000 Version 3.4.07