Login    
 
 
 
 
Text/HTML
  
You are here :: Blogs Saturday, May 19, 2012

Search
Note: This uses the internal blog search engine. The Google search engine is also available at the top of the page.
  
Disclaimer

Please review the site disclaimer before downloading or using content found on this site

  
Categories
  
DEVSHED Blog
As always, I welcome your comments!
Jul 1

Written by: Steve Gray
7/1/2011 7:55 AM  RssIcon

This works in SQL 2008 and doesn’t in SQL 2000, not sure about 2005

We all have to work with ‘black box’ applications sometime – the kind that has a database with tables and stored procedures that you can’t see into but you still have to work with it.

I had a case like that today, the parameters that I was sending to an encrypted stored procedure were not matching up. Usually that’s a versioning issue. Here’s a handy piece of code that will show you all the parameters in a stored procedure

  1. select PARAMETER_NAME, PARAMETER_MODE, DATA_TYPE, CHARACTER_MAXIMUM_LENGTH,NUMERIC_PRECISION, NUMERIC_SCALE
  2.     from INFORMATION_SCHEMA.PARAMETERS
  3.     where SPECIFIC_NAME = 'taUpdateCreateCustomerRcd'
  4.     order by ORDINAL_POSITION

Tags:
Categories:
Location: Blogs Parent Separator DEVSHED Blogs Child Separator SQL
As always, I welcome your comments!
  
 
 
Home | Products | Blogs | Contact Us | Links | God's Plan
Privacy Statement | Terms Of Use
 
Copyright 2011 by Devshed.us