Viewing 9 posts - 1 through 9 (of 9 total)
I want to further validate comments made by a number of people. For demo purposes, this works fine, but it is a bad example of a real-world UDT. This point...
May 25, 2007 at 11:16 am
I understand that your primary intention is "to show how to use CLR integration in SQL Server to extend the engines functionality and provides an overview on what can be...
January 30, 2007 at 2:56 pm
Actually, both are part of formatting the output (when printing the SQL) that do not affect the actual executed dynamic SQL.
However, I usually do this a little differently. First of...
December 16, 2005 at 9:52 am
I use a couple of phrases quite often when planning, developing, teaching, etc. One of them is "There are always exceptions to the rule." My other favorite is "It depends"....
August 27, 2005 at 1:09 am
Unless the client application is entirely metadata-driven (which is another topic of discussion in iteself), both stored procedures and dynamic SQL (parameterized queries) can both cause require client code to...
August 26, 2005 at 9:34 am
You are right, political and social aspects of any development project can have negative effects. Abuse, overuse, or miuse of stored procedures can have a detrimental effect. I know it...
August 26, 2005 at 9:00 am
From SQL Server's standpoint, parameterized queries are the same as dynamic SQL. Yes, parameterized queries themselves do away with the possibility of SQL injection attacks, but you still must open...
August 26, 2005 at 8:53 am
A better version of the code from my previous post
SELECT T.TABLE_SCHEMA, T.TABLE_NAME, C.COLUMN_NAME, C.DATA_TYPE,
IDENT_CURRENT(T.TABLE_SCHEMA + '.' + T.TABLE_NAME) [CURRENT_IDENTITY_VALUE]
FROM INFORMATION_SCHEMA.TABLES AS T (NOLOCK)
INNER JOIN INFORMATION_SCHEMA.COLUMNS AS C (NOLOCK)
ON C.TABLE_SCHEMA...
March 24, 2005 at 7:58 am
Hear! Hear!
Microsoft recommends that you use the Information Schema views instead of the system tables when possible. To quote SQL Server 2000 Books Online: "To obtain meta data, use...
March 23, 2005 at 9:23 am
Viewing 9 posts - 1 through 9 (of 9 total)