Viewing 15 posts - 1,306 through 1,320 (of 6,036 total)
Create and delete static tables on fly is one of the worst possible ways to do things in SQL Server.
There are many other ways to do what you're doing, which...
July 18, 2016 at 4:08 pm
NineIron (7/18/2016)
July 18, 2016 at 3:53 pm
Lynn Pettis (7/8/2016)
Sergiy (7/7/2016)
Lynn Pettis (7/7/2016)
But I think this argument has gone on long enough, and it is time to stop.Long enough - by which standard?
:hehe:
By the standanrd that you...
July 10, 2016 at 4:04 pm
Lynn Pettis (7/7/2016)
But I think this argument has gone on long enough, and it is time to stop.
Long enough - by which standard?
:hehe:
July 7, 2016 at 7:54 pm
Jeff Moden (7/7/2016)
July 7, 2016 at 5:55 pm
It may be not entirely SQL2014 fault
I've set up a quick test in 2014 instance:CREATE TABLE #NUMBER_TEST
(
UNDEFINED NUMERIC (20,4)
)
INSERT INTO #NUMBER_TEST
SELECT -98.786 UNION
SELECT -98.785 UNION
SELECT -98.784 UNION
SELECT...
July 7, 2016 at 4:56 pm
drew.allen (7/7/2016)
If the two are otherwise indistinguishable,
They are not.
I provided an example where CAST is not doing its job properly. and can add more.
which is true in the vast...
July 7, 2016 at 4:44 pm
drew.allen (7/7/2016)
Sergiy (7/6/2016)
It's actually another way around - it's you who did not provide any rationale for using CAST rather than CONVERT in any cases.
Actually, I did provide my rationale,...
July 7, 2016 at 3:13 pm
Lynn Pettis (7/6/2016)
Really? You couldn't see the sarcasm just dripping from my statements? Sad, just sad.
Well, would not say "dripping".
none of which I have or will read
-...
July 6, 2016 at 8:22 pm
Lynn Pettis (7/6/2016)
You should always write...
July 6, 2016 at 4:13 pm
drew.allen (7/6/2016)
I've already acknowledged that datetime data was an exception.
There are more.
You can easily filnd them if you look up for the article "CASR and CONVERT" in BOL.
That...
July 6, 2016 at 3:49 pm
Will some of these work for you?
COUNT(case when [>7 Days] = 1 Then invoiceid else NULL end) as [Total >7 Days]
,COUNT(case when [>7 Days] = 1 Then NULL ELSE...
July 5, 2016 at 9:59 pm
You do not use @DATABASE anywhere in @BCP query.
The database must have been set up as default for the user on that SQL 2005 instance, therefore the query worked there.
Now...
July 5, 2016 at 9:09 pm
From the plan I can see the column [Date Time Beginning (EST)] belongs to table [bids_raw_da_miso]
But I don't see this table anywhere in the query.
And if you select by range...
July 5, 2016 at 6:02 pm
Jeff Moden (7/4/2016)
Sergiy (7/4/2016)
rajemessage 14195 (7/3/2016)
please tel me some key words , show that i will search in my stored prcedureTRY -- CATCH ?
Or just BEGIN TRANSACTION?
Most likely...
July 4, 2016 at 11:56 pm
Viewing 15 posts - 1,306 through 1,320 (of 6,036 total)