Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calculating percentages
Message
De
31/10/2011 08:54:17
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Calculating percentages
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01527668
Message ID:
01527668
Vues:
108
Whats wrong with this.
PRINT @no_plan_rowcount  
returns 816
PRINT @member_rowcount
returns 416
select @first_year_retention_rate = @no_plan_rowcount/@member_rowcount * 100

PRINT @first_year_retention_rate
returns 0

What am I doing wrong .

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform