Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modifying a cursor
Message
De
18/06/2014 01:49:27
 
 
À
18/06/2014 01:32:40
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 5
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01602016
Message ID:
01602024
Vues:
63
>#4 A cursor structure can not be altered (The command is ALTER TABLE)


Oh, yes, it can - as long as the length of the fieldname is max 10 chars - beyond 10 chars you will get an error

> If you need to alter a structure, you would need SELECT .. INTO Table and later ALTER TABLE

Not necessarily
	create cursor tmp ;
	(	Id	I, ;
		Name c(20);
	)
	insert into tmp values (1, '1')
	insert into tmp values (1, '1')
	
	alter table tmp ;
		alter Name c(10) ;
		add FirstName c(15);
		
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform