Print

Technical Article

VB APP vs Stored Procedure

  • Topic

I have been given the assignment of re-designing our billing process. I was hoping for some advice on the best solution. Currently a rather large StoredProcedure (>1K lines) runs each night from the SQL Agent. The SP takes nearly 2 hours to complete essentially it performs the following functions: 1.)Creates a temp table 2.)Creates a […]

You rated this post out of 5. Change rating

2004-08-02

5 reads

Technical Article

RE: SQL Server on SAN

  • Reply

A SAN is a High Availability storage solution which links physical drives on a storage device to the local machine by either Direct attached HBAs (host bus adapters) or through a Fabric connection via a Fibre Channel switch to the SAN Storage device. You can store you database files on the san with either one […]

You rated this post out of 5. Change rating

2004-01-19

Technical Article

RE: Converting hex to int

  • Reply

Just for completeness, there is an undocumented extended stored procedure converting hex to int DECLARE @dec varbinary(10) DECLARE @result varchar(255) SET @dec = 813185089 EXEC master..xp_varbintohexstr @dec, @result OUT PRINT @result Cheers, Frank

You rated this post out of 5. Change rating

2003-07-23

Technical Article

RE: Best practice when to use an index

  • Reply

quote: David, quick question. When you select from this table are you joining to it or from it? When you join is it based on the identity column? If I am going to join then it will probably be on the identity column, which will be the primary key. I would say that in 80% […]

You rated this post out of 5. Change rating

2003-06-30

Technical Article

RE: eliminating duplicates from stored procedure joins

  • Reply

Tim, You can by doing the distinct in a sub query (as in my last post). However this relies on all the columns being duplicated, eg Case_no#,Last_name,First Name,Determination,Sender etc... 1,Bloggs,Fred,Child,Master etc... 1,Bloggs,Fred,Child,Master etc... however if only Case_no# is duplicated then this is harder as it depends on which record is required, eg Case_no#,Last_name,First Name,Determination,Sender etc... […]

You rated this post out of 5. Change rating

2003-06-23

Technical Article

RE: shrink logs

  • Reply

Hi, You can either do dbcc shrinkfile (dbid, n) --where dbid is the fileid in sysfiles and n is the target MB size Or backup log yourdbname with truncate_only Ritch Edited by - Ritch on 06/18/2003 03:09:00 AM Edited by - Ritch on 06/18/2003 03:30:42 AM

You rated this post out of 5. Change rating

2003-06-18

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