Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spaces in Column Name
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
ASP.NET
OS:
Vista
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01400143
Message ID:
01400199
Views:
44
I didn't try that, as I'm not comfortable messing with MM.Net's source code (yet), but that's a good idea, thanks!

Eric


>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'
Previous
Reply
Map
View

Click here to load this message in the networking platform