Forum Replies Created

Viewing 15 posts - 1,051 through 1,065 (of 1,995 total)

  • RE: wHICH MODEL IS BEST?

    If this was a geography forum, you would be the flat earth kid:w00t:

    Since you don't know anything about RDBMS, then get a copy of the simplest intro book...

  • RE: Leading Zeros in Varchar Column

    +1 phil - you beat me to it by 1 minute

    also possibly a synonym???

  • RE: Leading Zeros in Varchar Column

    i'm sure you've already checked , but can you run the query from your database and make sure you specify the schema name (but not the db)

    ie select x,y,z from...

  • RE: Duplicate Problem

    a couple of things here

    IF @NextOrderNo is null

    begin

    SET @OrderNo = (SELECT NextNo FROM NxNo (Nolock))

    update NxNo set NextNo = NextNo @increasevalue

    end

    1) remember to use the WITH statement for your...

  • RE: Leading Zeros in Varchar Column

    derek.colley (6/8/2012)


    Can you post the structure of the table and the view please.

    Sounds like the view is doing an implicit conversion of the VARCHAR column to INT.

    Please post structure of...

  • RE: Leading Zeros in Varchar Column

    tbraithwaite (6/8/2012)


    Hi, I wonder if anyone can explain the following:

    I have a table that has a column [unique_name] defined as Varchar(64) and this contains ID numbers some of which have...

  • RE: Error - ODSOLE Extended Procedure

    balasach82 (6/1/2012)


    Mike,

    We are using sp_OACreate, sp_OAGetErrorInfo, sp_OAMethod, sp_OAGetProperty, sp_OADestroy.

    Error occurs only for some of the records which satisfies a particular condition and not for all records. Even though, we get...

  • RE: A-Z list

    i also had to count out loud the alphabet then decided ASCII('a') and ASCII('z') gave me the numbers i needed

  • RE: ssrs 2008 r2, passing multiple values to a parameter

    looks like you could use a TVP (table value parameter)

    it's bets not to pass delimeted strings in as parameters

    try the following - (example code only)

    CREATE TYPE xtype as TABLE(id int)

    GO

    create...

  • RE: SQL Connectivity not stable & jobs getting failed.

    and how many connections are currently open on your server (perhaps your application is not closing connections properly - it's not unheard of!!!)

    also - how much RAM on the box...

  • RE: SQL Connectivity not stable & jobs getting failed.

    what is your max worker threads setting?

  • RE: Error - ODSOLE Extended Procedure

    are you using SP_OA calls?

    please can you post the code that generates the error...

    that error is typically a COM/REGISTRY issue for an sp_oa call to a DLL

  • RE: A-Z list

    im guessing that the OP wants

    Apples

    bannanas

    Chocolate

    Coffee

    turning into

    A

    Apples

    B

    Bannanas

    C

    Chocolate

    Coffee

  • RE: repair index

    in SQL 6.5 you would use the command DBCC CHECKDB

  • RE: A-Z list

    something like this

    with x (id,letter)

    as

    (

    select 65 as id, CHAR(65) as letter

    union all

    select ID+1,CHAR(id+1) as letter from x

    where ID<90

    )

    select letter as name from x

    union all

    select name from sysobjects

    order...

Viewing 15 posts - 1,051 through 1,065 (of 1,995 total)