Viewing 15 posts - 1,621 through 1,635 (of 5,502 total)
opc.three (4/27/2011)
FreeBCP? Are you on Linux or Unix?
And if so, how did you manage to install SQL Server???
April 27, 2011 at 3:47 pm
Is there any specific reason to open a new thread every few hours for the same conceptual issue?
For example http://www.sqlservercentral.com/Forums/FindPost1099849.aspx
or http://www.sqlservercentral.com/Forums/FindPost1098387.aspx
You're just wasting other resources since we might answer in...
April 27, 2011 at 3:42 pm
Ninja's_RGR'us (4/27/2011)
Or plan A.2 Is there a...
April 27, 2011 at 3:28 pm
I'd use a "slightly" different approach:
Instead of HAVING(COUNT(*)>0) I'd use a CTE and the ROW_NUMBER() OVER(PARTITION BY CHAR_1 ORDER BY <insert_preferred_column> DESC) AS Row approach and query for Row>1.
I'd insert...
April 27, 2011 at 3:10 pm
Why using a CLR in the first place?
Wouldn't something along those lines do the job, too?
WITH sample_data AS
(
SELECT 0 AS n UNION ALL
SELECT 2 UNION ALL
SELECT 1
), cte AS
(
SELECT ...
April 27, 2011 at 2:46 pm
Glad I could help 😀
I'm not sure if the addtl. subquery to the sourcxe table is required.
Couldn't you just use another condition like
WHEN min(effdate)<=@startdate and max(termdate)<=dateadd(mm,-1,@enddate)...
April 27, 2011 at 2:24 pm
Would the following script help?
SELECT DEST.TEXT
FROM sys.[dm_exec_connections] SDEC
CROSS APPLY sys.[dm_exec_sql_text](SDEC.[most_recent_sql_handle]) AS DEST
--WHERE SDEC.[most_recent_session_id] = 57
April 27, 2011 at 1:56 pm
Are you looking for something like this?
SELECT
carriermemid,
CASE WHEN
DATEDIFF(
mm,
CASE...
April 27, 2011 at 1:27 pm
I don't think that a triangle. It's basically covering the range of values between two categories.
I tried a similar approach in parallel but Lamprey13 did post his solution earlier. And...
April 26, 2011 at 4:48 pm
Quite possible.
That's one of the reasons I suggested to replace the trigger with a computed column (based on the requirement posted in the other thread). The INSTEAD OF option not...
April 26, 2011 at 4:14 pm
Query plan and index stats don't seem to indicate an issue with the sproc itself.
Did you try a profiler trace on that specific sproc to verify if the pattern Craig...
April 26, 2011 at 4:11 pm
Is this thread anyhow connected to your previous thread?
If so, why do you post in a SQL2000 forum as well as in a SQ2005 forum? What version do you use?
Would...
April 26, 2011 at 4:00 pm
Please add the index definition for each table as well as the actual execution plan (as sqlplan file) of the sproc for each of the two conditions.
April 26, 2011 at 3:46 pm
Viewing 15 posts - 1,621 through 1,635 (of 5,502 total)