Forum Replies Created

Viewing 15 posts - 61 through 75 (of 244 total)

  • RE: Processing Cash sales

    Thank you, Paul. I am honoured to get a reply from an author-grade pro. Of course I want any help to map the relationships.

    After racking my brains yesterday, I have...

  • RE: Delete an instance in 2005 Express

    Thanks again. Just curious, as SQL Server is so complicated to work with, is there any reference or quick guide to help people like me who dont want to be...

  • RE: Delete an instance in 2005 Express

    Thanks for the compliment, Lowell, it is why I am here in the first place.

    I cannot log in to SQLEXPRESS with sysadmin privileges as I can at MSSQLSERVER, so that...

  • RE: Insert Summary Record After Stripping Old Records

    Agreed, but, FYI, stripped data is first backed up for future retrieval before being purged.

    All I want to know is, even if I do NOT delete old records:

    How to...

  • RE: Insert Summary Record After Stripping Old Records

    [Code]

    CREATE TABLE [dbo].[dbo_transactions_master](

    [transaction_id] [int] NOT NULL,

    [transaction_date] [smalldatetime] NOT NULL,

    [department_id] [int] NOT NULL,

    [transaction_type] [tinyint] NOT NULL,

    CONSTRAINT [PK_dbo_sales_master] PRIMARY KEY CLUSTERED

    (

    [sale_id] ASC

    )WITH (PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF) ON...

  • RE: How To utilize log files

    I'm not a pro like all the others who have already ventilated this thread, but what I would do in this case is restore a backup on an independent computer...

  • RE: DATE OVERLAPPING

    No, DayNumberOfWeek should NOT be reset when the year changes, because it is just that - Day Number Of Week - and not Day Number Of Year.

    Second, have a look...

  • RE: Like operator problem

    For a debugging tutorial, see

  • RE: calculating hours worked

    [Code]Hi i am having table with emp code and transaction,i want to calculate how many hours he worked for the day.

    Format of table

    id ...

  • RE: Comparing and Updating rows between two tables

    [Code]CREATE TRIGGER TABLE1_INSERT_TRIGGER

    ON TABLE1

    FOR INSERT

    AS

    SELECT *, 1

    INTO TABLE2

    FROM INSERTED

    CREATE TRIGGER TABLE1_UPDATE_TRIGGER

    ON TABLE1

    FOR UPDATE

    AS

    UPDATE T2

    SET T2.FLAG = 2

    FROM TABLE2 T2

    INNER JOIN TABLE1

    ON TABLE2.ID = TABLE1.ID

    CREATE TRIGGER TABLE1_DELETE_TRIGGER

    ON TABLE1

    FOR DELETE

    AS...

  • RE: Finding where a function is being called in a stored procedure

    Easy - I would generate a script of all my stored procedures and then search where the function name appears in it.

  • RE: Update Trigger

    Also, an update may include the target column without changing its original value, if the actual UPDATE statement contains all column names. Then you will end up incrementing it needlessly....

  • RE: eliminating duplicates

    [Quote]CHAR((2*Count(*)) + (CASE Sex When 'M' Then 0 Else 1 End)[/Quote]

    Returns the ASCII character for the numeric value returned by double the count for MALE and double the count plus...

  • RE: MS SQl Job Agent

    I think you will have to be a bit more clear in wording your problem in order to get the help you need.

  • RE: PLEASE HELP

    Karthik, we can all see that Jeff did not intend to offend you so let us not blow this out of proportion.

    Let's call it a truce for the sake of...

Viewing 15 posts - 61 through 75 (of 244 total)