Viewing 15 posts - 2,611 through 2,625 (of 6,035 total)
For what it's worth, this one can be paramaterized in terms of the number of dates returned, and it doesn't require a pre-existing tally table, which might be useful in...
May 11, 2016 at 9:46 am
Iwas Bornready (5/11/2016)
The problem I just had with it is that I do not have permissions to run this on production.
You can try requesting the following from the DBA:
-- allow...
May 11, 2016 at 7:53 am
If you're organization is starting an IT automation initiative, then simply put: resistence is futile. When it does come time to downsize, then I guarantee you that those of you...
May 11, 2016 at 7:12 am
Perhaps what you need is a composite unique key, which would be the business code combined with something like a date/time column. For example, let's assume an Employee table is...
May 10, 2016 at 12:38 pm
If you have a database with heavy write activity, something like a high volume DW or ETL staging, then placing the transaction log on a RAM drive would probably yield...
May 10, 2016 at 12:01 pm
For this type of row filtering based on TOP(x) ranking, you can use the DENSE_RANK() function like so. You'll need to experiment with the PARTITION BY and ORDER BY clause...
May 10, 2016 at 11:46 am
There is no WHERE clause. This procedure will update all rows in the each column with the same value, which I'm sure this is not what you intend.
May 10, 2016 at 9:59 am
TheFault (5/10/2016)
m_swetz (5/10/2016)
Money is good relatively speaking, but work/life balance is poor as the expectation is that I can be reached at all times, can work weekends, etc.
There's often a...
May 10, 2016 at 9:23 am
onlo (5/10/2016)
Unfortunately, we only use SQL Server 2014 Standard Edition, we can't use the memory optimized table feature.
Can I move just one table (it is a staging table) to a...
May 10, 2016 at 9:04 am
whereisSQL? (5/6/2016)
Ed Wagner (5/6/2016)
Eric M Russell (5/6/2016)
djj (5/6/2016)
Grumpy DBA (5/6/2016)
ZZartin (5/6/2016)
Ed Wagner (5/6/2016)
StealPlunder
Pirate
Ship
Cruise
Missile
Launch
Haunch
May 9, 2016 at 8:09 am
Ed Wagner (5/6/2016)
May 6, 2016 at 1:18 pm
djj (5/6/2016)
Grumpy DBA (5/6/2016)
ZZartin (5/6/2016)
Ed Wagner (5/6/2016)
StealPlunder
Pirate
Ship
Cruise
May 6, 2016 at 11:18 am
ebooklub (5/6/2016)
I found that in my region (Montreal, Canada) jobs related "Internet...
May 6, 2016 at 8:26 am
jasona.work (5/5/2016)
Ray K (5/5/2016)
jasona.work (5/5/2016)
May 5, 2016 at 11:36 am
It would be hard to infer what would be the equivalent of referential constraints simply by looking at the code. I'd start all this effort by collaborating with a subject...
May 5, 2016 at 11:20 am
Viewing 15 posts - 2,611 through 2,625 (of 6,035 total)