career

Technical Article

RE: Filegroups fun

  • Reply

try using the bcp utility. bcp out the table into the flat file, drop the table and recreate it on the second filegroup, then bcp in the file into the table. use the batch param so that it wll commit on a set number of rows. hope this help.

You rated this post out of 5. Change rating

2003-06-17

Technical Article

RE: Trigger Question

  • Reply

Hmmm... Could you call the Notification Service at the end of your batch instead of resorting to a trigger? Perhaps log the changes in another table and then let the Notification cycle through the changed records. Alternatively, could the client applications query the changed records in batches? Or, and obviously I don't know much of […]

You rated this post out of 5. Change rating

2003-06-17

Technical Article

RE: Need help with calculation

  • Reply

I'll go with Antares686 suggestion, thus version II Select Calc.StudentNr,Calc.ColSum/Calc.FieldCnt From ( Select StudentNr, ( ISNULL((CASE When ST1Q1 = 'N' Then Null ELSE ST1Q1 End),0) + ISNULL((CASE When ST1Q2 = 'N' Then Null ELSE ST1Q2 End),0) + ISNULL((CASE When ST1Q3 = 'N' Then Null ELSE ST1Q3 End),0) + ISNULL((CASE When ST1Q4 = 'N' Then Null […]

You rated this post out of 5. Change rating

2003-06-17

Technical Article

RE: Need help with calculation

  • Reply

May not be the best solution but should work for you calculation try ( ISNULL((CASE When ST1Q1 = 'N' Then Null ELSE ST1Q1 End),0) + ISNULL((CASE When ST1Q2 = 'N' Then Null ELSE ST1Q2 End),0) + ISNULL((CASE When ST1Q3 = 'N' Then Null ELSE ST1Q3 End),0) + ISNULL((CASE When ST1Q4 = 'N' Then Null ELSE […]

You rated this post out of 5. Change rating

2003-06-17

Technical Article

RE: Clustering and Performance

  • Reply

One of our apps uses several databases. We use a 2-nodes active/active cluster with one instance of SQLServer on each node, and the various databases balanced between the 2 nodes (call it "static" load-balancing). In case of a hardware failure of one node, the instance goes on the 2nd server, providing failover protection.

You rated this post out of 5. Change rating

2003-06-17

Technical Article

RE: What makes a good developer?

  • Reply

Hi Noel, quote: What is the best program : 1. a perfectly written program, written with the best design methodology, with optimal performance, making use of the best technology for the job, taking into account all the pitfalls of the language, having a high degree of readibility and maintainability that does not do what the […]

You rated this post out of 5. Change rating

2003-06-16

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