Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft SQL Server > Re: ex****ting ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 10991 of 11517
Post > Topic >>

Re: ex****ting a table with long field names to Access

by Tom van Stiphout <no.spam.tom7744@[EMAIL PROTECTED] > Apr 23, 2008 at 06:56 AM

On Wed, 23 Apr 2008 01:54:24 -0700 (PDT), "myemail.an@[EMAIL PROTECTED]
"
<myemail.an@[EMAIL PROTECTED]
> wrote:

You could create a view that returns the data from that table, and
alias each column name:
create view dbo.Ex****tXyzTable as
select RidiculouslyLongColumnName1 as ShortCol1,
  RidiculouslyLongColumnName2 as ShortCol2,
  -- etc.
  from XyzTable

Then use that view for ex****ting.

-Tom.


>Hi all,
>
>I need to ex****t a table from Ms Sql to Access. However, dts im****t/
>ex****t gives me an error because the field names are too long. Is
>there a quick way to trim the names of all fields to the 64 characters
>allowed by Access? Or is there a better alternative?
>
>Thanks!
 




 3 Posts in Topic:
exporting a table with long field names to Access
"myemail.an@[EMAIL P  2008-04-23 01:54:24 
Re: exporting a table with long field names to Access
Tom van Stiphout <no.s  2008-04-23 06:56:14 
Re: exporting a table with long field names to Access
"sam@[EMAIL PROTECTE  2008-04-23 19:48:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 1:06:38 CST 2008.