SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Do Not Call list


Do Not Call list

Author
Message
Lynn Pettis
Lynn Pettis
SSC Guru
SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)

Group: General Forum Members
Points: 96395 Visits: 38981
And what happens if you make the phone number field varchar(8)?

Cool
Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
sqldriver
sqldriver
SSCrazy
SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)

Group: General Forum Members
Points: 2234 Visits: 2536
Lynn Pettis (4/3/2013)
And what happens if you make the phone number field varchar(8)?


Heh. Curiously, I can use Python to split the file up (opening the whole file with any of the programs I have available is impossible; the computer comes to a screeching halt), and the split files seem to agree with the \ n row terminator. Maybe I'll try using it to re-save the whole thing to one file?

When I use any length short of nvarchar(max), I get the truncation error I posted before, up to and including varchar(8000).
Lynn Pettis
Lynn Pettis
SSC Guru
SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)SSC Guru (96K reputation)

Group: General Forum Members
Points: 96395 Visits: 38981
erikd (4/3/2013)
Lynn Pettis (4/3/2013)
And what happens if you make the phone number field varchar(8)?


Heh. Curiously, I can use Python to split the file up (opening the whole file with any of the programs I have available is impossible; the computer comes to a screeching halt), and the split files seem to agree with the \ n row terminator. Maybe I'll try using it to re-save the whole thing to one file?

When I use any length short of nvarchar(max), I get the truncation error I posted before, up to and including varchar(8000).

Worth a shot.

Cool
Lynn Pettis

For better assistance in answering your questions, click here
For tips to get better help with Performance Problems, click here
For Running Totals and its variations, click here or when working with partitioned tables
For more about Tally Tables, click here
For more about Cross Tabs and Pivots, click here and here
Managing Transaction Logs

SQL Musings from the Desert Fountain Valley SQL (My Mirror Blog)
sqldriver
sqldriver
SSCrazy
SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)

Group: General Forum Members
Points: 2234 Visits: 2536
Lynn Pettis (4/3/2013)
erikd (4/3/2013)
Lynn Pettis (4/3/2013)
And what happens if you make the phone number field varchar(8)?


Heh. Curiously, I can use Python to split the file up (opening the whole file with any of the programs I have available is impossible; the computer comes to a screeching halt), and the split files seem to agree with the \ n row terminator. Maybe I'll try using it to re-save the whole thing to one file?

When I use any length short of nvarchar(max), I get the truncation error I posted before, up to and including varchar(8000).

Worth a shot.


Yep, working. Thanks for your gender neutral time.

Some days SQL makes me want to go put together Ikea furniture to relax. Sheesh.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search