Viewing 15 posts - 7,891 through 7,905 (of 26,490 total)
prettsons (3/26/2013)
You can change recovery model...
April 19, 2013 at 10:30 am
Here is the testing:
set nocount on;
-- sample data
IF OBJECT_ID('tempdb..#x') IS NOT NULL
DROP TABLE #x;
CREATE TABLE #x (id int identity primary key, val nvarchar(100) NOT NULL);
GO
INSERT INTO #x
SELECT '55,85,1,4,9888,6587'...
April 19, 2013 at 10:18 am
wolfkillj (4/19/2013)
Lynn Pettis (4/19/2013)
<snipped>
Results:
Beginning execution loop
Batch execution completed 10000 times.
----- Using DelimitedSplit/CROSS APPLY -----
CPU(ms): 422 Logical Reads:...
April 19, 2013 at 10:14 am
A slight mod to Sean's code to return the single value to a variable:
CREATE PROCEDURE dbo.GetSTNValue
(
@pFromStore INT
,@pToStore INT
,@pSTN VARCHAR(10) OUTPUT
) AS
BEGIN
DECLARE @count INT = 0
,@AWBNo...
April 19, 2013 at 10:11 am
Here is another option, don't know how it will perform or scale:
create table #a (ID int,CalYear int)
insert into #a values(1,1993)
insert into #a values(1,1994)
insert into #a values(1,1995)
insert into #a values(1,2001)
insert into...
April 19, 2013 at 10:02 am
I was doing some testing, code below:
set nocount on;
-- sample data
IF OBJECT_ID('tempdb..#x') IS NOT NULL
DROP TABLE #x;
CREATE TABLE #x (id int identity primary key, val nvarchar(100) NOT NULL);
GO
INSERT INTO...
April 19, 2013 at 8:38 am
Sean Lange (4/19/2013)
April 19, 2013 at 8:19 am
muthyala_51 (4/19/2013)
I had an unexpected Auto failover from Principal to Mirror server.
We saw a network spike from 32MB to 1117MB during that period in the reports but the spike...
April 19, 2013 at 8:16 am
First thing you may want to do is compare the actual execution plans for the query from each run. See if there are any differences there. You may...
April 19, 2013 at 7:55 am
I am not going to blame the problem on a bug in SQL Server. I am more likely to say there is a logic/data error somewhere in the code.
My...
April 19, 2013 at 6:16 am
AndrewSQLDBA (4/18/2013)
What tool? Redgate had a large collection of different pieces of software. Have to be more specific.Andrew SQLDBA
Just what I was going to ask.
April 18, 2013 at 3:06 pm
Looking at the CREATE TYPE statement in MSDN I don't see where it allows you to name a column constraint like you can with the CREATE TABLE statement.
Your statndards my...
April 18, 2013 at 3:05 pm
labri (4/17/2013)
can you please help me with the following? I have a nvarchar column with data like this: ', 55,85,1,4,9888,6587,'
How can I found the rows that include in...
April 18, 2013 at 1:17 pm
sqlfriends (4/18/2013)
here are the table definition in attachment, and select. with a filterNo matter what I use the execution plan uses index scan.
SELECT
[StudentID] ,
...
April 18, 2013 at 12:58 pm
sqlfriends (4/18/2013)
But looking at the execution plan just by using...
April 18, 2013 at 12:31 pm
Viewing 15 posts - 7,891 through 7,905 (of 26,490 total)