varchar(max)

Technical Article

RE: OS Restore vs SQL Restore - Which is better?

  • Reply

To properly backup the .mdf and .ldf files they must be in a detached state. This can be done by stopping all the services or detaching the database(s). If the database is not detached, then reattaching it will fail and the database will be in a suspect or worse state.So, yes you can backup the […]

You rated this post out of 5. Change rating

2004-02-05

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