Viewing 15 posts - 2,491 through 2,505 (of 2,643 total)
I put the query for detecting overlapping dates into a function and then added this as a table constraint and this does the same job:
Function
CREATE FUNCTION CheckLocationsOverlappingDates()
RETURNS int
AS
BEGIN
...
August 21, 2012 at 3:34 am
dcdanoland (8/20/2012)
Bad news - I've been unable to create an indexed view for your query. First I had a few problems creating a view with schema binding -...
August 20, 2012 at 12:55 pm
I've just knocked up a quick solution to the overlapping dates problem.
I have a table Locations for which the column LocationCodes must not have overlapping dates. A datetime of NULL...
August 20, 2012 at 9:02 am
So in summary:
If you have an integrity rule that you want to enforce on a database and you can write a query that returns one or more rows if there...
August 20, 2012 at 7:36 am
Nice article but a few charts of what the distributions look like would have been nice.
July 3, 2012 at 3:38 am
dayanjor (6/8/2012)
There are an error on the TIP 10. the WHERE clause is not allowed on JOINS on MS-SQL Server.
Who told you that?!
June 8, 2012 at 10:58 am
Hugo Kornelis (6/1/2012)
Jonathan AC Roberts (6/1/2012)
Hugo Kornelis (6/1/2012)
Jonathan AC Roberts (6/1/2012)
Where does it say that...
June 1, 2012 at 11:28 am
Lisa Slater Nicholls (6/1/2012)
Jonathan AC Roberts (6/1/2012)
Hugo Kornelis (6/1/2012)
Jonathan AC Roberts (6/1/2012)
Where does it say...
June 1, 2012 at 10:28 am
Hugo Kornelis (6/1/2012)
Jonathan AC Roberts (6/1/2012)
Where does it say that you can't use it for...
June 1, 2012 at 10:02 am
michael vessey (6/1/2012)
Jonathan AC Roberts (6/1/2012)
michael vessey (6/1/2012)
If you are supplying SQL Server have multiple vendors and using SPLA licenses the cost is not far off $1,000 per cpu per...
June 1, 2012 at 8:13 am
michael vessey (6/1/2012)
If you are supplying SQL Server have multiple vendors and using SPLA licenses the cost is not far off $1,000 per cpu per month for enterprise edition, possibly...
June 1, 2012 at 7:46 am
michael vessey (6/1/2012)
You could get a multiprocessor SQL Server machine with a $1000 a month per cpu license fee or you could find an open source database that would do...
June 1, 2012 at 7:19 am
IceDread (6/1/2012)
Jonathan AC Roberts (6/1/2012)
IceDread (6/1/2012)
If you want to go from MS Sql server, you certainly do not want...
June 1, 2012 at 6:21 am
michael vessey (6/1/2012)
Jonathan AC Roberts (6/1/2012)
Hugo Kornelis (6/1/2012)
Jonathan AC Roberts (6/1/2012)
IceDread (6/1/2012)
If you want to go from MS Sql...
June 1, 2012 at 4:48 am
Hugo Kornelis (6/1/2012)
Jonathan AC Roberts (6/1/2012)
IceDread (6/1/2012)
If you want to go from MS Sql server, you certainly do not...
June 1, 2012 at 4:34 am
Viewing 15 posts - 2,491 through 2,505 (of 2,643 total)