-
Instead of looping? What do you mean?
Originally, asp had a loop, huh? In lieu of?
The stored procedure of SQL is to define a small program and put it in the database, in fact, it is similar to putting it in a program.
It's just that it's a little faster, the performance is improved, it's safer, and it's more convenient, and you can view the relevant knowledge.
Since you are going to use the loop, then it is impossible to replace the order of the loop to choose the most basic How can you replace it
1。Create (contains 2 parameters).
create procedure abc_infoname char(8),@cname char(16)asselect a.Student number, name, grades, credits.
from student form a insert join student report card bon aStudent ID = bStudent ID.
where a.Name=@name and bCourse name = @cnamego2Invoke.
execute abc_info 'Zhang Qiang','Computer Fundamentals'
execute abc_info @cname='Computer Fundamentals',@name='Zhang Qiang'
-
Why replace loops? Pretty good, huh?
-
I agree with the above! No substitution! That's good!
-
What is the relationship between your ID and SID, and how are things that don't matter how they are connected.
-
Your 1 is obtained by querying the database through the function getinfolist, and you need to post the getinfolist function to know the specific situation inside.
From you this statement.
, I learned that the SQL statements you queried the database were all the same, and the results were of course the same.
-
i is automatically incremented in the for statement!
-
Your problem is a bit strange Now that you have set the increment i in the loop, it will automatically become a number from 1 to 9, and your ** function has been implemented, no need to modify, do not set the default step of step 1
for i=1 to 9 step 2 is step 2
-
<%do while not >
Here is the individual piece of content to display.
if j mod 2 =0 then 'If j is divisible by 2, then the line break % >
end if%>
j=j+1loop
-
shuzi=0 'To give shuzi a value first, or the first time shuzi=shuzi+1 equals null'
zhuzi=0
jsshuzi=10
do while shuzi<=jsshuzi 'The shuzi here is an empty string'
'So for the first time the output here is a blank line'
shuzi=shuzi+1loop
-
What you define is zhuzi. Shuzi when looping.
-
Die. ASP doesn't have such a powerful feature.
Find a way to solve this problem in other ways.
-
30 seconds auto-refresh.
Expand on your own.
-
case syntax.
-
<%do while not >
The data read.
loop><%for i=1 to 8%>
=i%> If you don't want to read the data, you can also use for<%next
There is no absolute personality introvert or extrovert. Don't be so sure you're an introvert. >>>More
Here are 9 self-test questions that can help you detect cauda equina nerve damage early and gain the best opportunity. If you answer "yes" to more than 3 questions, it is recommended to see a doctor immediately, have relevant tests to determine whether the nerve is compressed, and follow the doctor's instructions**. >>>More
Hello! Your visit to a plank specialist for inspection.
The best and most healthy and effective thing is to eat more vegetables! The following couples are often eaten in summer, haha......Tomatoes: This is the best food for sun protection. >>>More
Dear, I am glad to serve you, and you can enhance your physique by adjusting your lifestyle and eating habits, exercising appropriately, etc. Specifically, the following points are made. >>>More