Viewing 15 posts - 5,356 through 5,370 (of 5,393 total)
What would be the fastest way to update these reprocessed records in the big table? Since the clustered index is not changing, will SQL 2000 do an "Update...
-- Gianluca Sartori
August 5, 2008 at 9:34 am
Use BEGIN/END in IF/ELSE, you'll never go wrong.
WHILE @currentpos <= LEN(@workstring) ...
-- Gianluca Sartori
August 5, 2008 at 9:17 am
Try formatting a bit your code, or nobody will take the time to read it:
DECLARE @sql VARCHAR(8000),
@ThreeMonthsAgo VARCHAR(10),
@FourMonthsAgo VARCHAR(10),
...
-- Gianluca Sartori
August 5, 2008 at 9:12 am
Linked servers are quite tricky to work with...
If you want the best performance, you have to use OPENQUERY and move everything you can in the remote query, in order...
-- Gianluca Sartori
August 5, 2008 at 8:59 am
Maybe you could be interested in this article:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
This is what Chris meant with his post...
-- Gianluca Sartori
August 4, 2008 at 11:28 am
Ok, I think I got it:
CREATE TABLE #InventoryStage(
[SerialNumber] [varchar](20) NULL,
[TagNumber] [varchar](8) NULL,
...
-- Gianluca Sartori
August 4, 2008 at 10:55 am
Is this the code you tried?
--Not duplicated rows
INSERT INTO Inventory (
InventoryID,
SerialNumber,
TagNumber,
UnitCode,
ItemNumber,...
-- Gianluca Sartori
August 4, 2008 at 10:41 am
AFTER triggers fire after changes are applied to the underlying table, INSTEAD OF triggers fire when you try to update the underlying table, but, instead of applying changes, only the...
-- Gianluca Sartori
August 4, 2008 at 8:52 am
Animal Magic (8/4/2008)
I...
-- Gianluca Sartori
August 4, 2008 at 8:35 am
I think there are thousands of replies to a question like this in the forums.
The point is: why no primary key? Is there any good reason not to add a...
-- Gianluca Sartori
August 4, 2008 at 8:28 am
For some reason MS Visual Web Developer 2008 will not apply the formatting {0:F2} even with HtmlEncode set to false so I thought maybe the better approach would be for...
-- Gianluca Sartori
August 4, 2008 at 7:49 am
Steven Cameron (8/4/2008)
Database optimization is a subset of performance tuning.
It took me 4 sentences to say the same thing... maybe synthesis is not one of my best qualities!:D
-- Gianluca Sartori
August 4, 2008 at 7:31 am
I had the same problem working with triggers and ADO when SET NOCOUNT ON wasn't in the procedure, but, as I see from your previous post, the instruction is there.
You...
-- Gianluca Sartori
August 4, 2008 at 7:28 am
I would say that "database optimization" means turning on the right settings and indexes on the database to allow applications to run as fast as possibile, while "Performance tuning" means...
-- Gianluca Sartori
August 4, 2008 at 6:45 am
It would be interesting to know how he could delete a LDF file with the service running...
What's the database recovery model?
You could try to attach the database with a...
-- Gianluca Sartori
August 4, 2008 at 5:58 am
Viewing 15 posts - 5,356 through 5,370 (of 5,393 total)