Viewing 15 posts - 2,206 through 2,220 (of 8,731 total)
ScottPletcher (8/31/2016)
August 31, 2016 at 10:22 am
Don't put it at the top of the procedure, put it at the top of the SELECT statement.
The same way you have INSERT INTO #TMP_AllNeonates
August 31, 2016 at 10:12 am
Ed Wagner (8/31/2016)
Grumpy DBA (8/31/2016)
Ed Wagner (8/31/2016)
Revenant (8/30/2016)
ReptileMammal
Mammaries
Memories
Mementos
August 31, 2016 at 8:57 am
Here's an article on generating random integers and floats. The best part is that it doesn't have to go row by row.
http://www.sqlservercentral.com/articles/Data+Generation/87901/
DECLARE @Range decimal(5,2) = 6.5-.25, @StartValue decimal(5,2) = .25;
SELECT...
August 31, 2016 at 8:54 am
I would say that it's because of a bad decision applied to the design. However, that could only be answered by the people who actually did the design or at...
August 31, 2016 at 8:48 am
You could use the following:
(DT_WSTR, 6)( (DATEPART( "HH", GETDATE())*10000) + (DATEPART( "MI", GETDATE())*100) + DATEPART( "SS", GETDATE()))
Or this other option:
REPLACE( SUBSTRING( (DT_WSTR, 30)GETDATE(), 12, 8), ":", "")
August 31, 2016 at 8:40 am
There were so many possible problems with the view and the update, that I concentrated in the wrong one.
August 31, 2016 at 8:07 am
I had a good solution, but I won't post anything without seeing some real effort.
The problem seems to be coming from these 2 threads:
http://www.sqlservercentral.com/Forums/Topic1808920-3077-1.aspx
http://www.sqlservercentral.com/Forums/Topic1809713-3077-1.aspx
Once I see real effort and...
August 30, 2016 at 12:06 pm
Here are 2 options along with sample data. Apparently, your counts per date don't match the real values.
CREATE TABLE #Sample(
Territory char(8),
Letter_Code char(10),
...
August 30, 2016 at 10:16 am
The DDL and transaction myth might come from Oracle and deformed badly. Hopefully, the myth that DDL is not affected by transactions will be gone eventually.
August 30, 2016 at 9:02 am
Hugo Kornelis (8/29/2016)
Ed Wagner (8/29/2016)
Ray K (8/29/2016)
djj (8/29/2016)
Hugo Kornelis (8/29/2016)
Ed Wagner (8/29/2016)
crookj (8/29/2016)
djj (8/29/2016)
Ed Wagner (8/27/2016)
TomThomson (8/26/2016)
Grumpy DBA (8/26/2016)
whereisSQL? (8/26/2016)
ExplodeImplode
Collapse
Fall
Trip
ACID (and no - this is not about SQL) :hehe:
Pink...
August 29, 2016 at 1:50 pm
Unfortunately, there's no way to downgrade databases or their backups. You'll need to find another way to replicate prod data in your dev server, or simply upgrade it.
PS. Not a...
August 29, 2016 at 1:49 pm
You need to add logging to your package and define a file destination for the log.
August 29, 2016 at 12:16 pm
Phil Parkin (8/29/2016)
Luis Cazares (8/29/2016)
afreenraja (8/29/2016)
Thanks.I will try these.
Try to understand them, so if there's an error you can correct it.
There is more than one syntax error here (I thought...
August 29, 2016 at 10:28 am
afreenraja (8/29/2016)
Thanks.I will try these.
Try to understand them, so if there's an error you can correct it.
August 29, 2016 at 10:07 am
Viewing 15 posts - 2,206 through 2,220 (of 8,731 total)