1
DO…LOOP and IF ELSE THEN statements
I am writing a basic program where two types of data are added: 1. a salespersons ID and 2. an amount of cars sold within a month from that salesperson. I have found out how to set the code where the numbers will go where they need to, but adding extra ones does not work, [...]
Answer Question
| July 12, 2009 2:47 AM
Accumulators, Counters, DO LOOP statement, IF ELSE statement, LOOP statement
I am writing a basic program where two types of data are added: 1. a salespersons ID and 2. an amount of cars sold within a month from that salesperson. I have found out how to set the code where the numbers will go where they need to, but adding extra ones does not work, [...]
JavaScript IF ELSE
I have managed to get the prompt to work, but when i type a number into prompt it displays all outputs on webpage, like nodiscount5%discount etc, could someone please sort my program so it just shows one output, then i can study my errors and learn from it. thankyou. <HTML> <HEAD> <TITLE>Volume Discount</TITLE> <SCRIPT LANGUAGE [...]
Answer Question
| July 26, 2010 11:47 AM
IF ELSE statement, JavaScript, Web development
I have managed to get the prompt to work, but when i type a number into prompt it displays all outputs on webpage, like nodiscount5%discount etc, could someone please sort my program so it just shows one output, then i can study my errors and learn from it. thankyou. <HTML> <HEAD> <TITLE>Volume Discount</TITLE> <SCRIPT LANGUAGE [...]
IF ELSE in SQL Server stored procedure
I am using this code which is giving error: if (@report_type = 'CM') Begin Select distinct Region,sum(ClientCount) as ClientTotal Into #NewTemp From ( End else if (@report_type = 'AM' ) Begin ( Select distinct Region,Area,sum(ClientCount) as ClientTotal Into #NewTemp1 From End else if (@report_type = 'BM' or @report_type ='UM' or @report_type ='AUM') Begin ( Select [...]
Answer Question
| April 17, 2013 5:43 AM
IF ELSE statement, SQL Server 2005, SQL Server development, SQL Server stored procedures, SQL statements
I am using this code which is giving error: if (@report_type = 'CM') Begin Select distinct Region,sum(ClientCount) as ClientTotal Into #NewTemp From ( End else if (@report_type = 'AM' ) Begin ( Select distinct Region,Area,sum(ClientCount) as ClientTotal Into #NewTemp1 From End else if (@report_type = 'BM' or @report_type ='UM' or @report_type ='AUM') Begin ( Select [...]
Which Is More Optimized
Which Conditional Statemnt Is More Efficient in VB.NET 2005 IF ELSE OR Switch Case ?
Answer Question
| August 8, 2008 11:30 AM
CASE statement, IF ELSE statement, VB.NET, Visual Basic 2005
Which Conditional Statemnt Is More Efficient in VB.NET 2005 IF ELSE OR Switch Case ?
1





