Python

Technical Article

RE: Excessive stored procedure [COMPILE] lock

  • Reply

Yes, I got a good description of the problem now. A couple of further questions: Are all of the blocked processes trying to execute the same stored procedure? Does it take a long time to compile the procedure? Have you tried using KEEPPLAN or even KEEPFIXED PLAN option hints in the procedure?

2005-05-18

2 reads

Technical Article

DTS Package Object Model

  • Topic

Does anybody know how to retrieve the list of objects to be transfered (through theAddObjectForTransfer method) within a DTSTransferObjectsTask step? The GetObjectForTransfer method requires you know the object name, owner, and type - this is the part I don't know and want to find out.Anybody?Thanks,Trevor

You rated this post out of 5. Change rating

2005-05-17

7 reads

Technical Article

RE: Excessive stored procedure [COMPILE] lock

  • Reply

Chris,   I am also puzzled why this is happening every 3-4 days. Base table is modified every hour. I think SQL Server is forcing recompilation of all procedures referencing base,mail, table when certain threshold of modifications reached and it beleives statistics is out of date. Would you agree?    When [COMPILE] locks were generated, there […]

You rated this post out of 5. Change rating

2005-05-17

4 reads

Technical Article

RE: Not returning all rows using BETWEEN operator

  • Reply

Its interesting.  I saw this exact same question just a day or so ago.  The reason is that your date column isn't a date column.  Its a datetime column. '05/07/2005' equates to '05/07/2005 12:00am'.  If you want to include everything from 5/7, you should add a day and use < @dteTo (if you continue to […]

You rated this post out of 5. Change rating

2005-05-06

Technical Article

RE: Create an ALERT for successful Backup ???

  • Reply

Jeff, Hint for restore: select * from sysmessages where...  There are a couple of IDs for Database and log restore: 18267, 18268 and also for file restore 18269For tracking DDL I would use Profiler Trace with T-SQL Statement Completed Event and TextData filter on a particular statement and DatabaseID for a particular database. Do not […]

You rated this post out of 5. Change rating

2005-05-06

1 reads

Technical Article

Openxml()

  • Topic

I have an xml file like: <ROOT> <LINE>         <NAME>NAME1</NAME>         <VALUE>VALUE1</VALUE>       <productcode>product1</productcode> </LINE> <LINE>         <NAME>NAME2</NAME>         <VALUE>VALUE2</VALUE>        <productcode>product1</productcode> </LINE> </ROOT>and I want to load into two different tables like: table 1:id         name      value1            name1   value1  table 2:id         name      value2           name2   value2 How do I seperately load this into these two tables? Please help Kins

You rated this post out of 5. Change rating

2005-05-06

1 reads

Technical Article

Best way to store HTML?

  • Topic

I am writing a little app that will store news items, such as press releases, events, headline stories, etc.  I was considering just putting each item into a nvarchar field, but that seems wrong for some reason.  How would you recommend that I accomplish this?BTW, I don't expect the data to get any longer than 8000 characters.

You rated this post out of 5. Change rating

2005-04-29

2 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