Error Handling

Technical Article

RE: How to pass TABLE datatype as input parameter to a stored procedure

  • Reply

Using one sproc to go against 10 different tables means that you would need to use dynamic sql rather than staight sql. This means that the caching of the query plans would need to be recalculated each time the sp is run. That is extra overhead that will ultimately cause a performance problem. As far […]

You rated this post out of 5. Change rating

2004-01-19

1 reads

Technical Article

sql7sp4-server (winnt4sp6a) to much paged

  • Topic

Can anyone help me with this one. I'm trying to determine why this sql7sp4-server (winnt4sp6a) is eating op more than 900Mb VM (560MbMemusage).This gradualy grows, but I cannot determine why. There are no open transactions.(Maybe cut and paste this back in notepad) ** syscacheobjects -- prepared objects ** **-------------------------------------** bucketid    cacheobjtype      objtype  objid       dbid   uid    refcounts   […]

You rated this post out of 5. Change rating

2004-01-13

5 reads

Technical Article

RE: Date conversion Conundrum

  • Reply

That didn't work for me. I wasn't able to remove the spaces. Another option is to seperate the month, day, and year with DATEPART, and then string them all together in the report. However, I am having trouble keeping the month and day in 2 digit format for dates smaller than 9, and I need […]

2003-12-16

Technical Article

RE: Sequential Numbering

  • Reply

Another way to do this is using Indentity, not using it as a property of a column, but as function in a TSQL statement. Using your example: select Identity(int,1,1) as rank, Hiredate, LastName, Firstname into #hireDate from northwind.dbo.employees where Title = 'Sales Representative' order by HireDate Select cast(rank as char(4)) as Rank, cast(hiredate as varchar(23)) […]

You rated this post out of 5. Change rating

2003-12-08

Technical Article

RE: QOD Cheats

  • Reply

quote: I agree with what has been stated. I use testing,BOL and searching the Web to find answers depending on the question. I don't have SQL200 and since most of the questions are for SQL200 I have to search or best guess anyway but at least it will prepare me for when we do get […]

2003-07-24

Technical Article

RE: Replacing BCP with SQLBulkLoad

  • Reply

My fault on the English - we haven't decided what to do just yet. Clearly if can't follow the article it's of no value, yet we don't have time to rewrite content that comes in from readers who use English as a second language. Andy http://qa.sqlservercentral.com/columnists/awarren/

You rated this post out of 5. Change rating

2003-07-21

Technical Article

RE: Replacing BCP with SQLBulkLoad

  • Reply

quote: Inattention using master..xp_cmdshell can seriously endanger SQL Server security This article rightfully points out that you tend to avoid xp_cmdshell for security reasons, but then goes and uses the sp_OA* procedures, which you tend to avoid for security and stability reasons. Therefore, I don't think the author can cite security as a reason for […]

You rated this post out of 5. Change rating

2003-07-21

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