Forum Replies Created

Viewing 15 posts - 2,566 through 2,580 (of 3,654 total)

  • RE: 3-2-1-1

    I've reached the age when I time things with a calendar.

    There is a great story about one of the old British colonies where the accuracy of the town clock was...

  • RE: getting incremental data

    I can't see a better way around the need to have a field per table.

    If your database design allows there to be a "common properties" table then your UpdatedDate field...

  • RE: Databases stuck in (Loading) state

    My SQL Script File is as follows

    use master

    go

    ------------------------------------------------------------------------------------

    -- If the backup device already exists then drop it and recreate it

    ------------------------------------------------------------------------------------

    IF EXISTS(SELECT 1 FROM sysdevices WHERE name='epos_Backup')

    exec sp_dropdevice 'epos_Backup'

    GO

    exec sp_addumpdevice 'disk','epos_Backup','D:\Epos\BACKUP\DW_EPOS.BAK'

    GO

    --...

  • RE: Securing Tables

    The roles that can DROP a table are DBO, DDL_Admin, obviously the SA login and other members of the SysAdmin role.

    Provided your user is not a member of such roles...

  • RE: Best way to identify the first SAT of a month

    I think you also need to consider the @@DATEFIRST setting which determines which day of the week is considered DAY 1.

    For example US English Sunday is Day 7. For...

  • RE: Create a CHM file out of SQL Server database?

    Innovasys DocumentX and Apex SQL Doc both do it.

    If you are only interested in SQL the Apex SQL Doc is the most detailed.

    If you want something that also does Access,...

  • RE: truncate_only

    Just as a matter of interest SQLBill do you use the straight SQL Backup or do you use a tool such as SQL Litespeed?

  • RE: DateTime without hour

    Why not

    SELECT CAST(CAST(GETDATE() AS INT) AS DATETIME)

  • RE: truncate_only

    The advice to backup the database after doing a truncate_only is because truncate_only removes checkpointed transactions from the log and therefore you have lost your ability to restore to a...

  • RE: New Poll

    Sam, I'm with you on this but I would say there is one over-riding cause of all project failures and that is a break-down in communication.

    It doesn't matter if it...

  • RE: 90 Minute TiVo

    I've lost count of the number of times I've sat through a recording of a TV show, adverts and all and then had either one of two thoughts

    a) Hang on...

  • RE: 90 Minute TiVo

    Guys, in the UK it has been illegal to tape records (remember those) and CDs for as long as I can remember. It is an entirely toothless law because...

  • RE: Stored Procedure with NTEXT argument

    Off the top of my head (I don't have SQL at home) I'm not sure if TEXT and NTEXT are allowed as output parameters but the general format is

    CREATE PROC...

  • RE: Sybase ASE OLE DB Provider

    Assuming that ISQL on Sybase is the equivalent of OSQL in SQL Server then the easiest way of using a batch file to create tables is to create a text...

  • RE: check that a column exists or not on a table

    Or even

    SELECT name FROM syscolumns WHERE id=object_id('dbo.TBL1')

Viewing 15 posts - 2,566 through 2,580 (of 3,654 total)