Forum Replies Created

Viewing 13 posts - 61 through 73 (of 73 total)

  • RE: A Hex on Your Database

    Good question, but the answer leaves me a bitter. I assumed Stored Procedures were in use with proper parameter types. (which is what I use). So SQL...

  • RE: Know your UNION(s), NULL(s), COUNT(s) ?

    Ya, great question.

    I didn't realize the subtle different between Count(*), Count(1) and Count(expression)

    Count(*) - Includes Nulls

    Count(1) - Includes Nulls

    Count(expression) - Does not include nulls ie Count(ColumnName)

  • RE: Passing a file into an SSIS Package

    Thanks Jim, sounds good. I'll upload it to the web virtual directory and pull it from the physical location passing in the file path as a variable to the...

  • RE: Multiple Client Design

    Another idea...

    Replicating Stored Procedures, UDF, Views etc...

    Create a master database with the common data flow, ie commonly used Stored Procedures Views. Replicate this into each of the databases using...

  • RE: Multiple Client Design

    Cutespn - That's a great link to Multi-Tenant Data Architure. It is exactly what I'm looking for as it discusses using Multiple Databases, Multiple Schemas, and Shared Schemas.

    Thank you!

    Follow...

  • RE: Schema based objects

    Works great Scot, Thank you!

    Here's an example for testing what Scot gave us.

    CREATE PROCEDURE prctest

    AS

    BEGIN

    DECLARE @t AS TABLE(col1 int NOT NULL, col2 int NOT NULL)

    BEGIN TRY

    -- Throws an Error...

  • RE: Schema based objects

    To tymberwyld -

    Did you find a resolution for the Schema issue when Raising Errors etc?

    I'm curious to know because right now I log errors to a table, that tells me...

  • RE: Can I Undelete data?

    Ya, it's in Simple mode so I'm guessing that's the end of trying to recover the data... 🙁

  • RE: Will Cascade Delete help Me?

    One other solution, not yet mentioned, is using Instead of triggers. You could use an Instead of Delete trigger to move the records that are to be deleted to...

  • RE: Will Cascade Delete help Me?

    I use cascade deletes quite often (when ever appropriate), but as Grant Fritchey says use them with care.

    For instance, consider the following (the naming convention here is just for clarity)

    tblCustomers,

    tblSalesOrders

    tblSalesOrderLines

    tblInvoice

    I...

  • RE: Using one table as a source for three others

    I've wrestled with the same issue as in the past and usually I just got around it by doing something else, such as making them into multiple columns in each...

  • RE: SQL Server 2005 Build List

    Cumulative Update 5 Build 9.00.3215 KB - Problem

    http://support.microsoft.com/kb/943656/[/url]

    We contacted Microsoft and installed the update, but when I do a SELECT @@Version I still get build 3042.

    I'm not sure if they...

Viewing 13 posts - 61 through 73 (of 73 total)