Forum Replies Created

Viewing 15 posts - 316 through 330 (of 465 total)

  • RE: Unwanted parameter truncation

    Eugene Elutin (12/21/2012)


    What does make you to say "I don't see that as being especially effective"?

    I meant putting all DIFFERENT TYPES of values together into a single string. As you...

  • RE: Unwanted parameter truncation

    Eugene Elutin (12/21/2012)


    If your input parameter is just a list of character-separated values, then you can make it just VARCHAR(MAX), then use split function to split it into table inside...

  • RE: Unwanted parameter truncation

    Lynn Pettis (12/21/2012)


    Eugene Elutin (12/21/2012)


    If your input parameter is just a list of character-separated values, then you can make it just VARCHAR(MAX), then use split function to split it into...

  • RE: Unwanted parameter truncation

    GilaMonster (12/21/2012)


    pdanes (12/21/2012)


    That is method 1, suggested by Grant, Jared and (I thought) you. No? If not, what did you mean?

    Neither Grant, Jared or myself suggested a 'normal' table. We...

  • RE: Unwanted parameter truncation

    Lynn Pettis (12/21/2012)


    pdanes (12/21/2012)


    GilaMonster (12/21/2012)


    Neither of those is what was suggested.

    A parameter table that contains that list split into rows.

    That what I said, I think. This string:

    '1E,D,E,Es,F,Fs,G,Gs,H,Hs,J,K,Ks,L,Ls,Lc,M,Me,N,Ns,O,Os,Ob,Oc,P,Ps,Pa,Pb,Pc,R,Ra,S,Ss,Sb,Sc,T,Ts,Ta,Tb,Tc,Ua,Ub,Uc,Va,Z,Zs'

    Would instead get passed...

  • RE: Unwanted parameter truncation

    GilaMonster (12/21/2012)


    Neither of those is what was suggested.

    A parameter table that contains that list split into rows.

    That what I said, I think. This string:

    '1E,D,E,Es,F,Fs,G,Gs,H,Hs,J,K,Ks,L,Ls,Lc,M,Me,N,Ns,O,Os,Ob,Oc,P,Ps,Pa,Pb,Pc,R,Ra,S,Ss,Sb,Sc,T,Ts,Ta,Tb,Tc,Ua,Ub,Uc,Va,Z,Zs'

    Would instead get passed as a table:

    KatalogLetter...

  • RE: Unwanted parameter truncation

    GilaMonster (12/20/2012)


    pdanes (12/19/2012)


    GilaMonster (12/19/2012)


    pdanes (12/19/2012)


    But what about such a table as a parameter? No business logic, but at least the fields would be strongly typed. I don't know if I...

  • RE: The Auto OS

    Yeah, I can't wait until hackers get into car OSs and make the engines quit, shift into reverse on the freeway, floor the accelerator in the driveway, maybe even self-start...

  • RE: Unwanted parameter truncation

    GilaMonster (12/19/2012)


    pdanes (12/19/2012)


    But what about such a table as a parameter? No business logic, but at least the fields would be strongly typed. I don't know if I would get...

  • RE: Unwanted parameter truncation

    GilaMonster (12/19/2012)


    pdanes (12/19/2012)


    But I just though of another way to pass parameters. What about a separate, one-record table?

    Multiple users.

    Oh, yeah. Oops. You could use multiple rows and put an...

  • RE: Unwanted parameter truncation

    David Webb-200187 (12/19/2012)


    You could send a fixed terminating character on the end of your variable parameters and check to see if it is actually the last character in the parameter....

  • RE: Unwanted parameter truncation

    GilaMonster (12/19/2012)


    pdanes (12/19/2012)


    Don't you get a performance hit from passing a table over the network, rather than a single string? And I think the server would parse it a lot...

  • RE: Unwanted parameter truncation

    SQLKnowItAll (12/19/2012)


    Don't you get a performance hit from passing a table over the network, rather than a single string? And I think the server would parse it a lot faster...

  • RE: Unwanted parameter truncation

    SQLKnowItAll (12/19/2012)


    I would say that in the case where a parameter is passed to the stored proc that does not match the size of a particular column (i.e. a delimited...

  • RE: Unwanted parameter truncation

    Grant Fritchey (12/19/2012)


    pdanes (12/19/2012)


    Grant Fritchey (12/19/2012)


    Whatever your data structures are, so should your parameters be, both in data type and length. What do the structures look like?

    Well, the data structure...

Viewing 15 posts - 316 through 330 (of 465 total)