Viewing 15 posts - 48,586 through 48,600 (of 59,065 total)
dphillips (8/25/2008)
August 25, 2008 at 9:19 pm
pakaw_man (8/24/2008)
please help me solve this problem:
I'm off to bed just now... but I have a suggestion for you... start your own thread for this problem. It'll get more...
August 24, 2008 at 11:41 pm
KB (8/21/2008)
The execution plan for my original query and the derived table query is exactly the same with 50%-50% cost.
Ummmm.... never trust the "cost" of a batch in the...
August 24, 2008 at 11:39 pm
DECLARE @Table TABLE(TimeNumber INT)
INSERT INTO @Table
SELECT '131000'
UNION
SELECT '220000'
UNION
SELECT '230000'
...
August 24, 2008 at 11:25 pm
... and, if that's not the right answer, then tell us exactly what you want by giving us an example of the inputs provided and a printout of what you'd...
August 24, 2008 at 11:09 pm
Mukti (8/22/2008)
CREATE Function DaysBetweenDates
(
@FromDate smalldatetime,
@ToDate smalldatetime
)
RETURNS varchar(4000)
AS
BEGIN
DECLARE
@DaysInBetween varchar(4000)
SET...
August 24, 2008 at 11:06 pm
You bet, Mishaluba! Thanks for the compliment! 🙂
August 24, 2008 at 10:52 pm
LMAO! You must love them almost as much as me! 😉
August 24, 2008 at 7:17 pm
Nuts (8/24/2008)
I had to import a txt file into sql server . I have attached the sample file for your reference.
It would be really good to know how to...
August 24, 2008 at 6:57 pm
By the way... could you post a copy of the code that fixed your parameter sniffing problem? Thanks...
August 24, 2008 at 6:46 pm
Oh Yeah! I forgot about that, Carl! Parameter sniffing can indeed cause these kinds of problems.
August 24, 2008 at 5:12 pm
Sai,
Once you get the intial archive done, how many rows would need to be archived on a daily basis? Also, please post the CREATE TABLE statement for the table...
August 24, 2008 at 4:41 pm
nag.netjob (8/22/2008)
Hi,I have a column with datatype nvarchar and it contain some sample data
like:
001
12
112
123
M6921C0014
M6932A0034
M69800034
VALP054
VALP075
VALP086
Now my question is how i achieve sorting on above column?
Based on the title of this thread,...
August 24, 2008 at 4:39 pm
I agree... indexes won't fix the problems associated with accidental cross joins, triangular joins, or the RBAR associated with Cursors and/or While loops especially those in a UDF. Some...
August 24, 2008 at 4:32 pm
By the way... DBCC IndexDefrag will allow the indexes to still be used while the index is in the process of defragging where DBCC DBReIndex will not. The big...
August 24, 2008 at 4:15 pm
Viewing 15 posts - 48,586 through 48,600 (of 59,065 total)