backup

Technical Article

LSN invalid?

  • Topic

Hi,helloI used the physical file to attach the database:sp_attach_db db,path of .mdf,path of .ldfThe returned message was :The LSN (45512:185:1) passed to log scan in database 'db' is invalid.What's matter? How it's to solve?Thanks in advance

You rated this post out of 5. Change rating

2004-11-12

5 reads

Technical Article

RE: rewrite code to eliminate isnull

  • Reply

I can't believe that there is a general performance problem with ISNULL as it would have been spotted long ago.  I have never had any trouble with it and I have used it extensively for many years.If you have a performance problem then it must be related to your specific query or the database design […]

You rated this post out of 5. Change rating

2004-10-26

Technical Article

RE: SQL server 2000 to SAN

  • Reply

just some readingstuff. http://qa.sqlservercentral.com/columnists/awarren/shouldyoubuyasan.asphttp://qa.sqlservercentral.com/columnists/bknight/clustering_a_sql_server_machine_.asphttp://qa.sqlservercentral.com/columnists/kpart/scalingout.asphttp://www.sql-server-performance.com/ew_san.aspandforum http://qa.sqlservercentral.com/forums/messages.aspx?forumid=54it works fine overhere  

You rated this post out of 5. Change rating

2004-10-22

Technical Article

Dynamically set DTSDestination column name from variable

  • Topic

I need to be able to set the DTSDestination column dynamically using a variable for the column name.  Here is the code I am using:   strColName = cstr(DTSSource("ColName"))    DTSDestination(strColName ) = DTSSource("QVal") I am getting the error "Invalid procedure call or argument: 'DTSDestination'".  I'm sure that I am just missing something.Thanks!

You rated this post out of 5. Change rating

2004-10-04

3 reads

Technical Article

RE: Datatype Issues... 8000 characters is too small.

  • Reply

Hi Roxanne,Have you tried writing VB code that uses ADO to execute your built queries?You would need to return the SQL queries in a resultset.  So, you might add the following code at the stored procdeclare @sql_stmts table (   cols varchar(8000),   from varchar(8000),   where varchar(8000) )-- repeat insert below for each query […]

You rated this post out of 5. Change rating

2004-10-02

Technical Article

RE: Query across records

  • Reply

it sounds like you mean that it is a two part primary key dp + num. so then you could do exactly the same thing except with a self join select... FROM legal a JOIN legal b on a.dp = b.dp AND a.num = 1 and b.num = 2 WHERE rtrim(a.descr1) + ' ' + […]

You rated this post out of 5. Change rating

2004-09-22

Technical Article

RE: Question of the Day for 31 Aug 2004

  • Reply

HiEnglish aint my first language, so what is the real difference between the two answers:Correct Answer: You cannot do this as the update references two tables. You Answered: You cannot do this as the view contains multiple tables. IMHO - the number 2 is multipleI chose to answer multiple as this answer would go even […]

You rated this post out of 5. Change rating

2004-08-31

Blogs

SQL Saturday Boston 2024 Slides

By

Thanks to everyone that came to my talks. Slides are below. Best Practices for...

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...

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