Viewing 15 posts - 1,486 through 1,500 (of 3,008 total)
Jeffrey Williams-493691 (2/11/2010)
Michael Valentine Jones (2/11/2010)[h]I was aware of that potential problem, and that is why I used the REPLACE to remove the - characters from the date to change...
February 11, 2010 at 4:13 pm
Jeffrey Williams-493691 (2/11/2010)
Michael Valentine Jones (2/11/2010)
This will verify the correct format and ensure that it is a...
February 11, 2010 at 3:41 pm
As other people have suggested, you would be better off using a datetime column.
This will verify the correct format and ensure that it is a valid date.
ALTER TABLE dbo.MyTable
CONSTRAINT CHK_MyTable__MyDateCol
CHECK
(
case
when...
February 11, 2010 at 1:58 pm
An additional thing I always look at is maintenance windows.
If you need down time to install OS patches, run diagnostics, etc., you don't want a mix of applcations on a...
February 11, 2010 at 1:43 pm
We have about 50 SQL Servers on VMs, mostly production, but some are development. We do not generally put highly loaded servers on VMs, but they are great for...
February 10, 2010 at 3:31 pm
You should check to make sure the location you are backing up to has space available.
February 10, 2010 at 10:20 am
I think you are ignoring the cost of what happens when you insert the data.
I think it would cause intense fragmentation of the index if you inserted a sequentially increasing...
February 9, 2010 at 6:42 pm
I'm not sure you clearly explained your requirements.
Do you want to push to next Monday at 9:00 am always, or only when it is Saturday or Sunday?
The code...
February 9, 2010 at 6:20 pm
You should be aware that you cannot use a file or filegroup backup to recover a table to a different point in time than the rest of the database.
February 9, 2010 at 5:52 pm
Has anyone figured out the parameter sequence to restore a database that doesn’t exist from an alternate timeline where it would have existed if the development project hadn’t failed?
February 8, 2010 at 10:02 am
If you really need to do something like this, you don't need to worry about transactions if you use the OUTPUT clause of the UPDATE statement to return the new...
February 5, 2010 at 3:02 pm
Prakash Heda (2/3/2010)
Michael Valentine Jones (2/2/2010)
February 3, 2010 at 8:21 pm
If the file is fixed format (not delimited between columns) you could load the file into a table with a single column, and then create a view on the table...
February 3, 2010 at 12:19 pm
Since the deadlock victim is the select, there is a good chance that setting the database to READ_COMMITTED_SNAPSHOT will prevent the deadlocks and it will not require any coding changes.
February 2, 2010 at 6:51 pm
You could add this to the proc to make sure all the tables are created by the dbo user.
ALTER PROCEDURE [dbo].[pGetItemLot] @item char(5),
@lot char(20),
@desc char(50)output
with execute as 'dbo'
as
...
rest of proc
...
February 2, 2010 at 12:02 pm
Viewing 15 posts - 1,486 through 1,500 (of 3,008 total)