Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spaces in Column Name
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
ASP.NET
OS:
Vista
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01400143
Message ID:
01400153
Vues:
52
Just I'm wondering did you try to keep the column name inside opening and closing square brackets ?
Some thing like [Membership Campaign]. As you know, we can point to columns' name that contains
space.

SELECT [A test], [My Name]
FROM [myDB].[dbo].[Table_1]

Anyway, I don't have idea about your Business Layer Generator, then you did a good job if it works fine now.

> Oh, and to followup, I renamed the column to include an underscore, and everything worked fine.

> EXEC sp_rename
> @objname = 'tblMember.Membership Campaign',
> @newname = 'Membership_Campaign',
> @objtype = 'COLUMN'
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform