Viewing 6 posts - 16 through 21 (of 21 total)
It'll delete records associated to users with a created date prior to the timestamp being used.
Have you tried doing an inner join between a few of these tables to...
April 30, 2010 at 2:56 pm
Just because you're deleting records that are linked to another table, nothings to say there might be records in the other tables are are inconsistent/incorrect. For example, what if the...
April 30, 2010 at 2:26 pm
When you subtract X days from GETDATE(), you will get a residual number of hours, minutes, milliseconds etc depending on how far through the day you are.
If you want to...
April 30, 2010 at 2:13 pm
Sounds like something hellish in the making. Your post indicates you want the leftmost column with a Y in to be 1 and all other columns on that row to...
April 30, 2010 at 2:09 pm
An alternative syntax to achieve the same for all tables and views in a schema would be:
GRANT SELECT ON SCHEMA:DBO TO user_or_role_namehere;
April 30, 2010 at 1:48 pm
I'd originally written this as a pair of CLR functions and used Geometry/Geography, but found little/no benefit in terms of performance/readability - it actually ended up being a lot more...
February 25, 2010 at 9:29 am
Viewing 6 posts - 16 through 21 (of 21 total)