> -----Mensagem original-----
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Em nome de Stephen Russell
> ---------------------------------------------------------------
> You need to remove the RULE for a default value first:
> ALTER TABLE dbo.CLIENTES_VAREJO
>       DROP CONSTRAINT 'DEFAULT_0
> GO
> then your drop column will be fine.  You can't just drop the column if
> another object is dependent on it's PRESENCE.
> --
> Stephen Russell


Stephen,

Thank You. But I got the same message error when I tried to do like you
said.

But a friend from foxbrasil group send me the command below, and the problem
is solved now:

EXEC sp_unbindefault 'CLIENTES_VAREJO.HEAR_ABOUT_FRIEND'
GO
ALTER TABLE CLIENTES_VAREJO DROP COLUMN HEAR_ABOUT_FRIEND
GO

Thank you.

-- 
Aílsom F. Heringer
[EMAIL PROTECTED]
Skype: ailsom.osklen
Analista de Sistemas
----------------------------------
Osklen
Departamento de Informática
Rio de Janeiro - RJ
BRASIL
http://www.osklen.com.br
55 21 22198971



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/!&[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to