career

Technical Article

RE: Stored Procedures - OUTPUT?

  • Reply

You might try something like this. This is how to return variables to calling program from dynamic SQL. set nocount on create table foobar (id int, theid int) insert into foobar values(1,1) insert into foobar values(1,2) insert into foobar values(1,2) insert into foobar values(1,3) insert into foobar values(1,3) insert into foobar values(1,3) go create PROCEDURE […]

You rated this post out of 5. Change rating

2003-06-04

1 reads

Technical Article

RE: Job restart on condition

  • Reply

Within the actual job, if you open up the step and select the Advanced tab, there is facility for the step to retry. You can set the number of retry attempts and the retry interval (in minutes). This only works if the step actually fails. Jeremy

You rated this post out of 5. Change rating

2003-06-04

Technical Article

RE: Notification Mail and IE instances

  • Reply

Hi Antares686, quote: I use Notes at work and it does this automatically. uuiih, here in my company we can only afford Outlook However, I'm on the hunt for some code snippets on the internet and have found some promising links. I hope putting it all together in some of the next evenings. Thanks, anyway! […]

You rated this post out of 5. Change rating

2003-06-04

Technical Article

RE: Partition table

  • Reply

Option 1: You can vertically partition a table by splitting the structure of a table into multiple tables based on column. For instance, you can have a main table with all frequently accessed columns and a supplemental table with less frequently accessed columns, joined on a unique key (one to one). This produces more efficient […]

You rated this post out of 5. Change rating

2003-06-04

Technical Article

RE: How to do this in SQL?

  • Reply

I don't see a solution to your problem in a single query. The problem lies in the assignment of a unique Trip_ID in the new table. However, you could do it in two goes. First insert one record for each trip using an identity field for Trip_id. After that remove the identity (or 'set IDENTITY_INSERT […]

You rated this post out of 5. Change rating

2003-06-03

1 reads

Technical Article

RE: Database Size

  • Reply

I run the following on our system when the SHRINKDATABASE doesn't work properly For this example the Database is named DB and the MDF is named DB_Data.MDF DBCC SHRINKFILE(DB_Data, [enter size to shrink to]) This will tell the system to shrink the physical file itself to be the size you set. This is if you […]

You rated this post out of 5. Change rating

2003-05-29

Technical Article

RE: Alter User-Defined Data Type in SQL Server 2000

  • Reply

What are you needing to change about it? Is it the rule that is bound to it or the underlying datatype itself. If the rulle bound then create a new rule and change the bound rule over. If the underlying datatype I usually create a new datatype with the changes and then change all the […]

You rated this post out of 5. Change rating

2003-05-28

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