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 1014147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:12:37+00:00 2026-05-16T10:12:37+00:00

I just switched groups and what they currently do is have their middle tier

  • 0

I just switched groups and what they currently do is have their middle tier pass XML to the procedures and then use xquery/xpath to parse the xml and use it to get information and return it back to the app (RETURN XML). I was just curious if others use a similar process or if they just pass the data directly into the procedures. I really like how flexible it is, but it really makes the procedures ugly because you have to parse the XML, query your data, and format the data into xml (formatting is trivial with SQL 2008).

My main concern is with performance. I have to parse the xml and put it into tmp tables or table variables so that I can use it in my queries.

Any thoughts?

  • 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-16T10:12:37+00:00Added an answer on May 16, 2026 at 10:12 am

    I have had similar approach, only for webservices, not stored procedures. I would say, that it’s not a good practice and should be avoided unless absolutely needed.

    Main problem probably isn’t performance, but fact, that you are creating GIGO (garbage-in-garbage-out) component, where you don’t have any formal contract between caller and procedure. Which means that wrong data on input/output can go unnoticed and you will have hell of a debugging.

    And yes, you will get some performance hit too (probably on both layers).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just switched from Eclipse to IntelliJ and noticed that when I use Reformat
We just switched to our new website redesign. We have a copy of the
I just switched from Visual Studio 2010 to Eclipse (Ubuntu). I have a global
I have just switched from Java Server Faces JSF 1.x to JSF 2.x. Files
I have just switched over from the old png transparency fix using a htc
I have just switched from VB.Net to C# and am writing a windows application.
I'm in a programming class where we have just switched from python to C.
I have just switched from a shared hosting environment to a dedicated service and
I just switched to Firefox 4 and looked at the site I'm currently working
I just switched to Moq and have run into a problem. I'm testing a

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.