Forum Replies Created

Viewing 15 posts - 181 through 195 (of 275 total)

  • RE: Delete nologging

    2 option suitable to my requirement.
    We have auto increment column in the Orginal table it might become issue while moving data to back.

    When you insert the copied rows...

  • RE: Translating Queries

    Select DeveloperName, HitCount
    from AppDevelopers
    cross apply ufn_BigStick(AppDeveloperID)

    GO 20

  • RE: INSERT INTO, EXCLUDING ONE COLUMN

    Why do you want to exclude the IDENTITY columns in the first place? If you use SET IDENTITY_INSERT <your table> ON you can copy the identity values across as well.

  • RE: redesigning table to accommodate new data types

    You can sum a nullable column. Rows where the column is null will not contribute to the total, so leaving the marks null when the student was absent (for whatever...

  • RE: retrieving global variable for trigger

    I'm assuming you can't use suser_name() or an equivalent because the application connects using a SQL Server login rather than windows authentication. You could prevent deletes, etc. from occurring outside...

  • RE: Stored Procedure help

    I think the UserID variable in your code will be receiving the RETURN value from executing the stored procedure. This is not the same as the results of the SELECT...

  • RE: Help with delimited SQL

    Running multiple SQL statements passed in as a string.

  • RE: Help with delimited SQL

    This method looks highly vulnerable to SQL injection attacks.

  • RE: Share the Interesting Work

    "hiring to support growth" - what is that?

  • RE: How to use a CSV as parameter in a query

    Are you able to change the parameter to a table-parameter? If so, you can add your array of values to it and use it in an inner join.

  • RE: Accidentally Overwrote Stored Procedure

    Just as an aside; I have got into the habit of using the "Script as create" instead of "Script as alter" or "Modify" options when looking at stored procedures, functions,...

  • RE: Stairway to U-SQL Level 9: Views and C# Expressions

    Good article, but wouldn't the Post Code view containing the conditional elements return the whole postcode for parts 1 & 2 rather than blank when there is no space in...

  • RE: Is Division by Zero NULL?

    At least the old adage has been proven - that any conversation left to run long enough on the internet will result in someone being likened to Hitler!

  • RE: Identity column versus RowID

    The structure proposed by tshad allows employees to flat-share. If you want overall flexibility, you need 3 tables; Employee, Address and EmployeeAddressLink. The start and end dates would then belong...

  • RE: Fuzzy Matching

    I have worked on a similar task before. The approach I took was to copy the names to another table (along with the primary key so I could link back...

Viewing 15 posts - 181 through 195 (of 275 total)