Forum Replies Created

Viewing 6 posts - 16 through 21 (of 21 total)

  • RE: Not deleting my dates correctly

    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...

  • RE: Not deleting my dates correctly

    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...

  • RE: Not deleting my dates correctly

    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...

  • RE: If One COLUMN = 'N' SET ALL TO '0'

    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...

  • RE: Permissions to 100+ tables

    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;

  • RE: Pure SQL Curve Fitting X/Y Points using T-SQL 2008

    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...

Viewing 6 posts - 16 through 21 (of 21 total)