Viewing 15 posts - 931 through 945 (of 1,271 total)
Use an Instead Of trigger. The sample code below would be more efficient if there is some unique key field that you could use to join the records instead of...
December 8, 2006 at 12:46 pm
Has this server been the witness previously? And has there been any server changes?
If you remove the witness, it retains the configuration settings. If you reconnect, it over-writes the previous...
December 8, 2006 at 11:51 am
"Use Output Window" is greyed out in my SSMS. What does that do?
December 8, 2006 at 11:31 am
Or the article I wrote, Practical Uses of PatIndex: http://www.sqlservercentral.com/columnists/rdavis/practicalusesofpatindex.asp
I demonstrate a much simpler approach to this:
Create Function dbo.fnDigitsOnly(
@value varchar(50))
Returns varchar(50)
As
Begin
While PatIndex('%[^0-9]%', @value) > 0
Begin
Set...
December 8, 2006 at 12:07 am
That's not the correct syntax for changing the file sizes of the database.
Alter Database [dbName] Modify File (
Name = [LogicalDataFileName],
Size = [NewSize][KB|MB|GB|TB])
Alter Database [dbName] Modify File (
Name = [LogicalLogFileName],
Size =...
December 7, 2006 at 11:44 pm
It works for me most of the time. When it doesn't work, it is because a db is failing one or more tasks. This only happens occasionally and usually it...
December 7, 2006 at 6:58 pm
You can use relative paths if you put a pushd command or a cd command at the top line switching the directory location. Like so:
pushd C:\scripts
start MyExe.exe
December 7, 2006 at 6:51 pm
You can use NewID for this:
Select
Cast(Cast(NewID() as
December 7, 2006 at 6:39 pm
Do the names have any non-alphanumeric charcters in them? I've read that removing these from the package names has helped some people.
I've lso read that you should download and install SQLServer2005_BC...
December 7, 2006 at 10:57 am
UpdateUsage won't help with his.
Making your growth rate small will speed up expansion, but it will cause it to occur more frequently which will hurt performance.
December 7, 2006 at 8:57 am
When you installed SP4, did you run the instcat.sql script that comes with the service pack? That has to be executed separately after the service pack installation. It upgrades the...
December 7, 2006 at 4:26 am
You can also fire up a VPN connection and use mapped drives instead of a trusted connection.
December 6, 2006 at 3:57 pm
I'm not saying that this is any fster or better, but just another alternative:
Right(
'0' + Cast
December 6, 2006 at 3:19 pm
You should definitely run the backup locally and then copy/ftp it to the other server. Your chances of getting a corrupted backup go up exponentially if you do it cross...
December 6, 2006 at 3:03 pm
There are a couple of ways to do this;
1. Have every available whole number width and every available whole number height associated with a price. Either have every available width and height...
December 6, 2006 at 2:56 pm
Viewing 15 posts - 931 through 945 (of 1,271 total)