Forum Replies Created

Viewing 15 posts - 13,246 through 13,260 (of 13,463 total)

  • RE: Insert Child before Parent

    below is a procedure which returns all tables in the foreign key hiearachy order; it's copied and slightly adapted from scripts here at SSC;

    i would suggest the following:

    use this...

  • RE: Insert Child before Parent

    i think you missed the point that each insert statement is an atomic transaction;

    the begin tran is just a marker so that a group of atomic transactions can be rolled...

  • RE: Printing command lines

    I thought the issue might be because you are running it in Query Analyzer; by default, text is limited to 256 chanracters until you change it to allow up to...

  • RE: PDA to manage databases?

    if it's web enabled, it'd be a piece fo cake to make a mobile web page that allows you to do whatever functions you feel can be done by remote...

  • RE: help needed with xp_cmdshell

    two issues here. first, you forgot to quote the url, so if you tested the vbs file from a command prompt to see if it works, you'd see it errors...

  • RE: Removing blank space

    what happens to countries that have two part names, ie "United Kingdom", "United States", or "Federated States of Micronesia"?

    woudn't you compact them and turn them to wrong values?

     

  • RE: Sounds Like

    i though soundex didn't work if the value started with a number? so an address like 123 main street vs 321 main St was ineffective?

    select soundex('123 main street') = 0000

    select...

  • RE: Convert RTF data

    ok i just found an example on another forum that might help:

    create function dbo.RTF2TXT(@in varchar(8000)) RETURNS  varchar(8000) AS

    BEGIN

    DECLARE @object int

    DECLARE @hr int

    DECLARE @out varchar(8000)

    -- Create an...

  • RE: Convert RTF data

    i've used a quick and dirty vb app that has a RichTextBox control on it. it has a single function; I pass it an ADODB.Field, which it places int eh...

  • RE: transform hand written data

    sounds like yet another outsourcing to India to save money

  • RE: Data type for Gender

    i typically use a char(1) with a check constraint to allow only two values:

    ie ALTER TABLE BLAH ADD GENDER CHAR(1) NULL CHECK (GENDER='M' OR GENDER='F')

  • RE: SQL ERROR

    I've seen this error in ADO when you stick a string into a varchar that is smaller than the string...ie sticka  30 character string into a varchar(20), and the ADO...

  • RE: Magic Table

    The magic tables are the virtual tables available in a trigger:

    ie the [INSERTED] and [DELETED] tables, which can be referenced within a trigger so that you can add additional logic...

  • RE: Design question (subclassing)

    i would do this with three tables: as new/differet items are added, if they cannot use an existing attribute to describe them, it is added to the lookup table.

    A similar...

  • RE: Surprising Problem

    could you have an uncommitted transaction that was created during testing, but never committed or rolled back?

Viewing 15 posts - 13,246 through 13,260 (of 13,463 total)