Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: import long variable

From   "Maarten Buis" <>
To   <>
Subject   st: RE: import long variable
Date   Mon, 22 May 2006 13:51:35 +0200

--- Juan Ramón García López wrote:
> I have a database in '.txt' format. My database
> has a 18-characters variable (idvar).  <snip> 
> My problem is that Stata approximates the last 
> numbers of  'idvar'. I already know that the 
> problem could be solved importing the variable 
> like "string". Do you know another way to solve
> this problem?

The maximum number of digits Stata can take is 16
digits (apart from string variable), so the answer
is no. For more information see:


Maarten L. Buis
Department of Social Research Methodology 
Vrije Universiteit Amsterdam 
Boelelaan 1081 
1081 HV Amsterdam 
The Netherlands

visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z214 

+31 20 5986715

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index