Viewing 15 posts - 781 through 795 (of 920 total)
Or does 13097 really mean 1/30/1997? If so, how do you distinguish 1/12/97 from 11/2/97? Not enough info to give you a good answer on this.
January 27, 2006 at 5:35 pm
If you're going to do it this way, I'd suggest the following structure to minimize locking:
CREATE PROCEDURE Get_New_ID
@Prefix varchar(2)
AS
begin tran
-- do the update to increment the...
January 5, 2006 at 10:26 pm
I have a bunch of favorites but the latest one's that I find myself using are both by Kinky Friedman, musician, novellist, and soon to be Governor of Texas:
We're all...
January 5, 2006 at 4:20 pm
How big is the database?
How are connections handled? Are you using pooled connections from a web (or other) server or does each user make and terminate connections? There's a fair amount...
January 5, 2006 at 4:05 pm
Hmmm...
Could be any number of things. How busy are the disks and how are the database files laid out? It's possible that I/O is the bottleneck and redistributing the files...
January 4, 2006 at 11:14 pm
You might want to check for NULL in @variable before you concatenate it with anything. I think NULL concatenated with anything yields NULL.
December 22, 2005 at 9:56 am
I hesitate a little to send the following code, because I have to caveat it so heavilly. It was built for Sybase, and it was never really finished, so there...
December 19, 2005 at 4:51 pm
From our friends in Redmond:
http://support.microsoft.com/default.aspx?scid=kb;en-us;287737
the sqldmo answer.
December 12, 2005 at 6:26 pm
Will the days always be 3 digits? (0015 for January 1, 2005 as opposed to 15). What happens in 2010?
Making some assumptions, this might be a place to start:
declare @x...
December 12, 2005 at 5:54 pm
Depending on how large your coulumn is, you might create a table with all the numbers from 1 to your largest identity and then join the two tables, deleting the...
December 8, 2005 at 6:01 pm
Looks like the autogrow increment may be running the disk out of space. Check to see if you have enough room to do a 25% (or a 10%) growth on...
December 6, 2005 at 6:00 pm
I, Robot. The Asimov original story is better than the movie, but the questions are one's my grandkids will probably have to answer. What is 'life' anyway? And maybe 'if...
December 1, 2005 at 6:10 pm
I have to agree with Steve on this. The idea that everyone can just pull up stakes and go somewhere better is grossly oversimplifying the complexities of life. In the...
December 1, 2005 at 11:22 am
How big is the database from which the backup was made?
November 29, 2005 at 4:42 pm
I grew up in Cannonsburg, Kentucky, and I just got back from a vacation trip to the old homestead. We had one 4-way stop in the middle of town, a...
November 28, 2005 at 3:49 pm
Viewing 15 posts - 781 through 795 (of 920 total)