Forum Replies Created

Viewing 15 posts - 23,281 through 23,295 (of 26,486 total)

  • RE: Trigger and Queryout

    Give this a try, but I would seriously look at Service Broker.

    DECLARE @ani varchar(27)

    DECLARE @fate varchar(3)

    DECLARE @callid varchar(32)

    DECLARE @BCPCmd varchar(2000)

    SET @ani = (SELECT ani FROM inserted)

    SET @fate = (SELECT...

  • RE: Trigger and Queryout

    Your going to have to write dynamic sql in your trigger to get this to work the way you are going at the moment.

  • RE: Archiving and Deleting Tables

    I think I'd look closer at the requirements. Is there a need to have x amount on-line for ready access, say previous month plus current for instance. If...

  • RE: Trigger and Queryout

    If I may, I'd like to make a suggestion. Don't do it this way. If for some reason the call to xp_cmdshell fails, your insert into the table...

  • RE: Starting a Job

    You will find it here: msdb.dbo.sysjobs

    If you use the job_id, if they drop and recreate your job, the procedure will also break.

    Best thing to do is document your job and...

  • RE: Are the posted questions getting worse?

    Looks like you told him what he could do, not what he wants. Looks like he needs the proverbial 2 x 4 to understand that he can't trace the...

  • RE: Appropraite Datatypes

    antonio.collins (12/15/2008)


    Appropriate datatypes depends entirely upon your application and data usage.

    From your column name list, the only obvious choice is

    ExecutioninstanceGUID should be a uniqueidentifier.

    Executionstarttime could be either...

  • RE: Are the posted questions getting worse?

    If the purpose of this thread was to "blow off steam", I think it has (and still IS) serving the purpose. What better place to swinging through the trees...

  • RE: Appropraite Datatypes

    Garadin (12/15/2008)


    That's really not enough information, but if I had to guess based on the field names:

    Username ...

  • RE: Problem With Quotation Marks in CSV File

    I have a csv file with two rows. The contents in the file look like this:

    7282 1Z9132330343268916,

    7283 1Z9132330342623908,1Z9132330344644098,

    What quotes? Your sample above doesn't have any.

  • RE: Are the posted questions getting worse?

    Leave it to geeks....

  • RE: question about indexes

    I just want to be sure what you are asking. You have two indexes on this one column:

    [polnum] [nvarchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL

    One index is a primary...

  • RE: Problem With Quotation Marks in CSV File

    Have you tried setting up as a 1 column import? You would then split the data from there.

  • RE: Starting a Job

    h.schlais (12/15/2008)


    Hi Lynn, I get the following error:

    Cannot add rows to sys.sql_dependencies for the stored procedure because it depends on the missing table 'dbo.sp_start_job'. The stored procedure will still be...

  • RE: Referencing and sorting by calculations

    Are you looking for somethig like this?

    select

    OrderID,

    OrderDate,

    ShippedDate,

    RequiredDate,

    ShippingWindowDays,

    ...

Viewing 15 posts - 23,281 through 23,295 (of 26,486 total)