Forum Replies Created

Viewing 15 posts - 16 through 30 (of 39 total)

  • RE: Message returned when a check constraint violated

    You can put a short message inside the name of CK. When a user reads a violation message, he will see that message too. I do it like this:

    CK_Table_1_[_Field_length_must_be_6_]

    -where CK=...

  • RE: LDF File has been deleted - Help!

    If everything else fails, try MSSQLRecovery tool. I accidentally found this tool, but when I really needed it I didn't know about it. Maybe it will be just right for...

  • RE: Capturing web pages

    I've tried several tools that could automate gathering of data from Internet, but each does things differently and requres you to learn to use it efficiently:

    - iOpus Internet Macros (run...

  • RE: Is XML the Answer?

    When I was listening to a good XML lecture by a really knowlegable XML guru, there are some things I remembered that are seldomly emphasized:

    XML = DOM (Document Object Model)

    XML...

  • RE: Overriding System Messages

    Here's what I do. I give the constraint a meaningful name, like in your case:

    CK_grade_[Grade_field_expects_a_valid_grade].

    The user will get a check constraint violation message and also the constraint name, which...

  • RE: Cross referencing databases

    Not much help here, right?

    Unfortunately cross-database connections are all hard-coded in SQL Server because it can't do double evaluation. That would be to use a variable for object name. In...

  • RE: Problem Solving With Information Schema Columns

    quote:


    Information Schema Views were introduced in Microsoft SQL Server 2000


    No, no, no, INFORMATION_SCHEMA views...

  • RE: source control for stored procedures

    quote:


    We have found Visual Studio .NET a great way to do SQL coding. SourceSafe is built-in to .NET and it is...

  • RE: Declare Input Parms

    quote:


    Is there a restriction on how you use Input Parameters? The following code tells me I have to declare the input variables...

    alter...

  • RE: identity

    I use identity as a primary key of a table for easier handling of records that is strictly local for a table. Example: triggers (joining inserted and deleted),...

  • RE: write conflict

    quote:


    Hi alicejwz,

    from what you have sent me off-forum, could it be you have a bit field in one of your tables without...

  • RE: Trigger Problem

    Look like you ran into a loop. Trigger triggers itself until 32-level nesting limit is exceeeded. Have a look at "TRIGGER_NESTLEVEL" in BOL, check out the sample and set trigger...

  • RE: Scheduling DTS package

    Read the Service Pack 3 Readme.htm. I also had a problem with SP3 because it disables ad-hock queries. I used OPENQUERY.

    Hope that helps,

    Jani.

  • RE: Accessing all rows in an Update Trigger

    In SQL Server you have to switch thinking from cursor to set oriented actions. Virtual table [inserted] contains what is in the table after event, [deleted] contains data that was...

  • RE: slow enterprise manager

    Slow EM opening of the database tree is a known problem (at least to people in my company). The problem is isolated to workstation and it gets worse in time...

Viewing 15 posts - 16 through 30 (of 39 total)