Schemas

External Article

Using schema binding to improve SQL Server UDF performance

  • Article

SCHEMA BINDING is commonly used with SQL Server objects like views and User Defined Functions (UDF). The main benefit of SCHEMA BINDING is to avoid any accidental drop or change of an object that is referenced by other objects. A User Defined Function (UDF) may or may not access any underlying database objects, but in this tip we show how using SCHEMA BINDING with a UDF can improve performance even if there are no underlying objects.

2009-03-09

4,200 reads

Technical Article

Get rid of commas in quoted text, then Bulk Insert

  • Topic

I was trying to use DTS to solve this problem, because DTS can deal with this issue, but I'm a hackboy and DTS is way over my head to automate.I could use bulk insert if I could get past one problem.  My CSV data files are garbage, and I have no control over the vendor.Lets […]

You rated this post out of 5. Change rating

2005-01-04

5 reads

Technical Article

RE: Find Min/Max Values in a Set

  • Reply

I know cursors aren't popular, and most of the times have worse performance, but sometimes they might do the trick elegantly and in this case probably efficiantly (although I haven't checked this)... You can declare a scrollable cursor for the simple "select distinct col from table order by col desc/asc" and then use FETCH RELATIVE […]

You rated this post out of 5. Change rating

2004-11-23

Technical Article

Invalid character value for cast specification

  • Topic

I have an "Execute SQL Task" with input parameter - GlobalVariable gv_RF_ID output parameter - Globalvariable gv_TEXT_INFO gv_RF_ID is INT (default 10322) gv_TEXT_INFO is StringHere is SQL statement: SELECT TEXT_INFO FROM RF_INDEX WHERE RF_ID = ?When I execute this Step I get an error "Invalid character value for cast specification"I ran this statement in QA, […]

You rated this post out of 5. Change rating

2004-10-21

1 reads

Blogs

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers