Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User-Defined Data Type
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
User-Defined Data Type
Divers
Thread ID:
01141546
Message ID:
01141546
Vues:
61
I'm trying to write a small proc to create data types. The OBJECT_ID is
returning NULL even though the id exists. What am I doing wrong here?
USE db_bmdata
GO
IF OBJECT_ID ('SSN') IS NOT NULL
  BEGIN
    DROP TYPE SSN
  END

GO

CREATE TYPE SSN	FROM VARCHAR(11) NOT NULL 
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform