Viewing 15 posts - 19,606 through 19,620 (of 26,484 total)
head_contusion (7/23/2009)
Second, when an issue is solved, how do I mark the issue as closed/solved?
You don't here on SSC. Many in this community believe that there is...
July 23, 2009 at 11:07 am
adam spencer (7/23/2009)
July 23, 2009 at 10:50 am
HyperBac, even though located in Australia, is a very responsive company. At this point I recommend sending them an email detailing the problem you are having. Don't be...
July 23, 2009 at 10:45 am
Also, this query will out perform the cursor solution over a large result set:
SELECT
A.POLICYNr,
A.COV_I,
A.PREMIUM_I
...
July 23, 2009 at 10:36 am
To be honest, being cursor clueless was probably better. Cursors are evil, even if there are some very rare cases where they are the correct solution for a problem.
Where...
July 23, 2009 at 10:28 am
Having been using it for over a year without issues, I'm not sure.
Is there anything you may have left out in the steps your are doing?
July 23, 2009 at 10:19 am
Trooper (7/23/2009)
I am in the process of trying out the tool 'Hyperbac for SQL server' to compress my database backups.
I was wondering if anybody used this tool earlier .
I...
July 23, 2009 at 10:05 am
Here is a delimited split function that does not use a while loop:
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE function [dbo].[DelimitedSplit] (
@pString varchar(max),
@pDelimiter char(1)
)
returns...
July 23, 2009 at 9:46 am
More like this;
DECLARE Crs_Name CURSOR
FOR
SELECT
A.POLICYNr,
A.COV_I,
A.PREMIUM_I
A.COV_II,
A.PREMIUM_II,
A.PROGRAMCODE
FROM APLICATION AS A
FOR SELECT --<OPEN Crs_Name
DECLARE
@POLICYNr AS CHAR(12),
@COV_I AS MONEY,
@PREMIUM_I AS MONEY,
@COV_II as MONEY,
@PREMIUM_II AS MONEY,
@PROGRAMCODE AS CHAR(2) --EXAMPLES 01,02,03
FETCH NEXT FROM CRS_Name INTO
@POLICYNr,
@COV_I,
@PREMIUM_I,
@COV_II,
@PREMIUM_II,
@PROGRAMCODE
WHILE...
July 23, 2009 at 9:21 am
Show us your procedure and well show you how it works.
July 23, 2009 at 8:57 am
The cursors you write in stored procedures are server side cursors. When you hear about client side cursors, they are talking about the application using a cursor to loop...
July 23, 2009 at 8:34 am
TAman (7/23/2009)
Which ones?: See below
Emp_ID Start_Entry End_Entry ...
July 23, 2009 at 7:26 am
There really should have been a third choice: It Depends. It really does, what data type is being converted to what data type?
July 23, 2009 at 7:03 am
Okay, half way there. What have you (or your friend) done to try and solve this particular problem?
July 23, 2009 at 6:57 am
Jeff Moden (7/22/2009)
Lynn Pettis (7/22/2009)
Why? Seeks are faster than scans.Heh... because "A developer must not guess... a developer must KNOW." 😉 It'll be a nice test.
If it isn't...
July 23, 2009 at 6:55 am
Viewing 15 posts - 19,606 through 19,620 (of 26,484 total)