Viewing 15 posts - 7,636 through 7,650 (of 8,760 total)
As Lynn said, give us something to work with! My guess is that Grant is dead on, just in case, check free space on all relative volumes, auto growth limits/settings,...
August 1, 2014 at 11:42 am
tshad (8/1/2014)
That worked fine.Not sure what this means:
ROW_NUMBER() OVER (ORDER BY (SELECT NULL))
How does that work?
This adds an incremental number to the output, by stating (SELECT NULL), one indicates that...
August 1, 2014 at 11:34 am
The code below demonstrates how to use output parameters in a stored procedure
😎
CREATE PROCEDURE dbo.WasInsertSuccessfulQuestionMark
(
@ValueToInsert INT
,@ThisTellsMeIfSuccessful INT OUTPUT
)
AS
/*
usage
...
August 1, 2014 at 11:29 am
Quick question, do you need assistance providing the necessary information.
😎
August 1, 2014 at 10:21 am
ScottPletcher (8/1/2014)
August 1, 2014 at 8:34 am
Just throwing in my 2 cents, my preferred way is to use SSIS to import the XML into a staging table and shred it with XQuery into the destination tables....
August 1, 2014 at 7:30 am
Out of curiosity, why 11g, that's quite an old horse? BTW, don't know of any automatic tools for the job, normally is scripting rebuilding, rewriting and transferring kind of a...
August 1, 2014 at 7:27 am
You can use a query in the case statement, simplifies thing
😎
SELECT
CASE
WHEN EXISTS (SELECT * FROM DB_1.sys.tables WHERE name = 'TBL_TRIP') THEN (SELECT TOP 1 name...
August 1, 2014 at 5:41 am
danielfountain (8/1/2014)
I am shortly embarking on a project to redesign an ETL process.
Currently issues can be cause by end users running reports (SSRS, EXCEL) while a table is updating....
August 1, 2014 at 4:45 am
Impossible to say without more information. Could you post the table structure, the update code, execution plans etc., the more the merrier.
😎
August 1, 2014 at 1:28 am
Since the case statement is doing incremental steps, it can be simplified using integer division, see the example.
😎
USE tempdb;
GO
SET NOCOUNT ON;
DECLARE @SET_SIZE INT = 40000;
/* Test data 1 to @SET_SIZE...
July 31, 2014 at 10:38 pm
You can count the rows before and after or use @@ROWCOUNT
😎
USE tempdb;
GO
DECLARE @PRECOUNT INT = 0;
DECLARE @RET_VAL INT =0;
DECLARE @TABLEX TABLE (IVAL INT NOT NULL);
SELECT @PRECOUNT = COUNT(*) FROM @TABLEX
INSERT...
July 31, 2014 at 10:21 pm
GilaMonster (7/31/2014)
salomon.frid (7/31/2014)
I am aware of that one, just some people in my shop have told me that is not the preferred way of doing this ...
So according to your...
July 31, 2014 at 3:54 pm
lee.hopkins (7/31/2014)
some users refuse to leave the regional setting to english and i am haveing an issue.
a...
July 31, 2014 at 3:49 pm
Michael Valentine Jones (7/31/2014)
July 31, 2014 at 3:16 pm
Viewing 15 posts - 7,636 through 7,650 (of 8,760 total)