Forum Replies Created

Viewing 15 posts - 13,231 through 13,245 (of 13,445 total)

  • 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?

  • RE: Is it possible to dynamically change Database properties?

    in a nutshell, yes; you can change anything dynamically.

    see sp_dboption in the BOL; also look in master and look at any of the stored frocs that start with sp_db or...

  • RE: Local variable as seed in an identity column

    while the table definition doesn't allow variables, the DBCC command to change the starting value does:

    declare @C1 int

    set @c1=99

    create table #sometable(id1 int IDENTITY(1, 1))

    DBCC CHECKIDENT( [#sometable],RESEED,@c1)

  • RE: Continuous SQL SERVER Errors

    this might help: i believe that error  Operating system error 21(The device is not ready.) encountered. means that the path to the device(in this case a log file) does not...

Viewing 15 posts - 13,231 through 13,245 (of 13,445 total)