PC Review


Reply
Thread Tools Rate Thread

User defined types command parameter types

 
 
=?Utf-8?B?TWlrZQ==?=
Guest
Posts: n/a
 
      23rd Aug 2005
Can you define the type of a command parameter as a user defined type? If so,
how do you do it?
Thanks
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWlrZQ==?=
Guest
Posts: n/a
 
      26th Aug 2005
Hi Mary,

That's a good point and you are right this is design time issue not a run
time issue. However, having the type defined in one place makes changes to
the code much easier to make. The round trip issue you referenced could be
avoided if Visual Studio was more tightly integrated with SQL server. Then it
would only update the type information at compile time. In general, I would
like to see better integration of stored procedures and application code. I
would like to be able to call a stored procedure the same way I call any C#
function. I do not like having to writing all the plumbing code that is
currently required to call stored procedures. Why should have to define
stored procedure parameters in two places? I don't do that with methods I
write in C#.

I know that the new version of SQL Server takes a step in that direction by
building the CLR into SQL Server. I hope following version will continue that
direction.

Thank you for your efforts to help. I think I will just have to be patient
and wait for newer versions of SQL Server and .Net.

Thanks,
Mike
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
grouping together user defined data types and collections of those types Andy B. Microsoft VB .NET 2 27th Feb 2009 01:08 PM
Assigning User Passwords - User-Defined Type Not Defined error =?Utf-8?B?TWFjTnV0MjAwNA==?= Microsoft Access Security 1 11th Mar 2006 05:12 PM
error STOP:0x0000007B (parameter, parameter, parameter, parameter) robert35 Microsoft Access Getting Started 1 15th Dec 2004 04:28 PM
Show user-defined comments for user-defined functions vinesh Microsoft VB .NET 2 2nd Nov 2004 02:14 PM
User-defined data type; Error: Only User-defined types... =?Utf-8?B?dGlnZXJfUFJN?= Microsoft Excel Programming 1 18th Jul 2004 03:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:22 PM.