Ver Mensaje Individual
  #8 (permalink)  
Antiguo 22/06/2010, 22:59
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 18 años, 8 meses
Puntos: 39
Respuesta: Eliminar Primary Key

Código SQL:
Ver original
  1. SELECT T2.*
  2. FROM sysobjects T1
  3. INNER JOIN sysobjects T2 ON T1.id = T2.parent_obj
  4. WHERE T1.name = 'usuario'
  5. AND T2.xtype = 'PK'
Si no te sale nada es que no tienes ninguna clave primaria.
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.