Viewing 15 posts - 4,576 through 4,590 (of 26,490 total)
Something like the attached.
September 3, 2015 at 11:46 am
SQLRNNR (9/3/2015)
Lynn Pettis (9/3/2015)
Isn't it interesting how people think some things are bugs instead of not doing things right?Well not doing it right is a bug!!
But not with SQL Server,...
September 3, 2015 at 11:18 am
Sounds like you dealt with the symptom but failed to identify and resolve the problem.
What affect did removing the databases from your AG have on your system(s) and processes?
September 3, 2015 at 11:13 am
Isn't it interesting how people think some things are bugs instead of not doing things right?
September 3, 2015 at 11:05 am
Grant Fritchey (9/3/2015)
AAAAARRRRGGGHHHH!The STUPID! It burns.
No, no links. Just needed to scream in agony for a moment. Go about your lives.
Anything to do with not wanting to write "dbo." any...
September 3, 2015 at 11:03 am
Grant Fritchey (9/3/2015)
jasona.work (9/3/2015)
Just make sure you read "The Thread" from beginning to end...There will be a quiz.
:hehe:
No. Don't do that.
Sort of like reading War and Peace, it will take...
September 3, 2015 at 11:00 am
Of course, since MS uses sysname as the data type for name in the system views like sys.tables, sys.columns, sys.objects, etc. I would use sysname as the data type for...
September 3, 2015 at 9:22 am
Run this after running the first 8 steps you posted earlier and show us the results. There are no conversions from character to data/time occurring so there should be...
September 3, 2015 at 9:13 am
If you are using the exact same code in multiple procedures I'd look at seeing if I could change the procedures to call a common procedure where needed rather than...
September 2, 2015 at 4:20 pm
SQLServerRookie (9/2/2015)
SELECT CUSTOMER, MONTH(DATEADD(DAY,DATE,'2004/07/01'))AS MONTH, YEAR(DATEADD(DAY, DATE,'2004/07/01'))AS YEAR, SUM (SALESAMOUNT) AS SALES
FROM MY_TABLE
GROUP BY MONTH(DATEADD(day,CDC,'2004/07/01')),...
September 2, 2015 at 1:34 pm
You could also try this, just need to add the additional columns you need from the Contacts table.
SELECT
con.ContactId,
COUNT(DISTINCT(pln.PlanId)) OVER (PARTITION BY con.ContactId,...
September 2, 2015 at 1:24 pm
I would do something like this:
with basedata as (
select
Customer,
dateadd(day,[Date],'20040630') SalesDate,
Sales
from
dbo.YourTable
)
select
Customer,
...
September 2, 2015 at 11:23 am
Taking a guess I would say this:
declare @CurDate date = getdate();
select
dateadd(week, datediff(week, 0, @CurDate) - 2, 0),
dateadd(day, 6, dateadd(week, datediff(week, 0, @CurDate)...
September 2, 2015 at 11:06 am
sharonsql2013 (9/2/2015)
Can someone advise me to get date for 8/17 (Monday ) and 8/23 (Sunday) which is a week before the last.
Based on what?
September 2, 2015 at 11:02 am
Viewing 15 posts - 4,576 through 4,590 (of 26,490 total)