Dynamic SQL

Technical Article

Active\Active SQL server cluster

  • Topic

Hello All, I'm a bit confused on how the failover processes works on a SQL server 2000  two node active/active cluster in terms of handling system databases. Given the following     You have 2 node active/active cluster NodeA & NodeB and  If I'm not mistaken a two node active\active cluster will have 2 instances running i.e NodeA will have a default […]

You rated this post out of 5. Change rating

2004-01-20

2 reads

Technical Article

RE: How to import a .sql file with DTS

  • Reply

Replace filename with the name of the .sql file, eg if the file you want to execute is called test.sql in the temp directory of your c: drive then would use isql /S servername /U username /P password -d databasename -b /m-1 /i c:\temp\test.sql Remember to change the other parameters as well.

You rated this post out of 5. Change rating

2003-11-19

1 reads

Technical Article

RE: Integration with Dot.Net, UDT's

  • Reply

We do use UDT either. I think it is better to use strong Entity/Attribute data modeling software and let the foreign key migration enforce the data conformity. For non-keys we use LOGICAL ONLY UDT but translate them to standard data types in the physical model. We use ERwin. It is a little pricey but I […]

You rated this post out of 5. Change rating

2003-08-08

Technical Article

RE: need help with COUNT

  • Reply

Here's one problem with your script: and Fname LIKE '%%%' First, this selects ALL data from Fname. Second, it overuses the %. Are you trying to get everything from Fname? If so, delete that line. Are you trying to get Fname where there are only three characters? If so, change the theree %'s to three […]

You rated this post out of 5. Change rating

2003-07-31

Technical Article

RE: Single User Bug????

  • Reply

Excuse me for buttin in, but: "However, if it can change to single-user, but someone else logs in before the DBCC command starts, then the job fails, and the database does not change back from single-user mode." How could somebody else log in after the DB was switched to single-user? Mvg, MvG.

2003-07-31

Technical Article

RE: Another query that takes too long

  • Reply

One thing that may speed it up is the following: When possible, use isnull rather than the case statement. According to the execution plan, it is twice as fast. ie. replace this: CASE WHEN @Country IS NOT NULL THEN @Country ELSE Country END with: isnull(@Country,Country) additionally: You may want to put your top 3000 select […]

You rated this post out of 5. Change rating

2003-07-17

Technical Article

RE: poor Question of the day 7_13_2003

  • Reply

quote: Now, your "correct" answer says that a login is all that's required, and furthermore it indisputedly implies that database permissions are *not* required (since you say that's *not* the right answer). I think this is a bit of semantics and here's why: - I can assign anyone a login within SQL Server. - I […]

You rated this post out of 5. Change rating

2003-07-14

Blogs

Enabling an Index: #SQLNewBlogger

By

I don’t do a lot of work with disabled index, but I learned how...

Back to Boston for SQL Saturday

By

I’m leaving again tomorrow for a trip. This time I head back to Boston...

T-SQL Tuesday #179: What’s In Your Data Detective Toolkit?

By

Most of us who work with data have, at least a few times, been...

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