Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6084479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:31:36+00:00 2026-05-23T11:31:36+00:00

I am new to ASP. I’ve been coding with PHP for about 10 years

  • 0

I am new to ASP. I’ve been coding with PHP for about 10 years now but just started ASP.

Here is my code:

Set rs = CreateObject("ADODB.Recordset") 
strStoredProcedure = "SP_AddHPOrderItem'" & empIdent & "'" 
rs.Open strStoredProcedure,strConnect, adopenForwardOnly, adlockoptimistic, adcmdtext

I am assuming that the variable RS("styleDesc") is coming from this query as I have found no reference to an RS, only rs. Not sure if variables are case sensitive in ASP.

My question is, is strStoredProcedure a function? Because I don’t understand how this query can be made with the variable assigned the way it is.

How does SP_AddHPOrderItem'" & empIdent & "' constitute a query? There are no selects, inserts, updates, or anything like that.

If an expert could point me in the right direction if would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T11:31:37+00:00Added an answer on May 23, 2026 at 11:31 am

    The first statement of a SQL batch can be a stored procedure name; if so, SQL Server will execute it even if it’s not prefixed with exec. So the net effect is if you send this to SQL Server:

    exec SP_AddHPOrderItem 'empIdent'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been asked to migrate some code to our new asp.net web app.
We just started a new ASP.Net project that uses web services to serialize some
The new ASP.NET routing is great for simple path style URL's but if you
My new ASP.NET MVC Web Application works on my development workstation, but does not
I have a new ASP.NET MVC project (my first), and I had been running
Just starting a new asp.net mvc solution and one of the requirements is the
I started with a new ASP.NET MVC 2 Web Application template and created a
I'm writing a new asp.net mvc application and I've been toying with the idea
I have a new ASP.Net MVC application that I am about to start and
Need to launch a new ASP.NET site on this server but need to be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.