Forum Replies Created

Viewing 15 posts - 6,151 through 6,165 (of 15,381 total)

  • RE: SQL syntax error

    eobiki10 (12/10/2013)


    There's actually no problem with the code for single value. I want to know how to tweak the code to work for multi-select so users can choose all offices....

  • RE: SQL syntax error

    eobiki10 (12/10/2013)


    This is exactly my problem and my sql. The report has cascading parameters and it works well for a single value. I tried to make it work for multi-...

  • RE: SQL syntax error

    eobiki10 (12/10/2013)


    I think a comma delimited list would be fine.

    You realize that violates 1NF right? A column of data in a row of a table should hold 1 and only...

  • RE: Multiple records returned from subquery

    Hi and welcome to the forums. It is nearly impossible to tell you how to fix this. It is however fairly easy to tell you the problem. Your subquery is...

  • RE: Must Declare the scaler variable @mesg_out

    pgupta6644 (12/10/2013)


    The following query I want to genrate dynamically:

    select @mesg_string = 'Error : ' + @mesg_out

    where @chk_dt <= @org_dt

    becuase the where conditions will be changing and messing will different...

  • RE: Should big tables with more cols be breaken into two tables?

    As a general rule you should NOT design your tables based on how you expect to query the tables. You should design your tables to support the data. Then you...

  • RE: Must Declare the scaler variable @mesg_out

    Why do you need to use dynamic sql for this? I don't see anything in what you posted that would indicate you need to use dynamic sql.

    The reason you are...

  • RE: Are the posted questions getting worse?

    SQLRNNR (12/10/2013)


    Sean Lange (12/10/2013)


    Congrats Gail. I think the creep of the Thread may have reached unstoppable speed at this point. 😛

    Just who is that creep this week?

    I am pretty sure...

  • RE: SQL syntax error

    eobiki10 (12/10/2013)


    Thanks for your information but what should I do on this case?

    That depends. Do you really want a comma delimited list in a single column or do you want...

  • RE: SQL syntax error

    eobiki10 (12/10/2013)


    Yes, I still have issue with error.

    So what is the EXACT query you are trying and what is the error message? This is probably incredibly simple to fix but...

  • RE: SQL syntax error

    eobiki10 (12/10/2013)


    Actually my value has the closing parameter. I must have have missed it when I copied the sql to paste on this forum

    So are you good to go then...

  • RE: SQL syntax error

    eobiki10 (12/10/2013)


    Hi All,

    Please I need help with this. I am having an error when I try to run a report that contains this code. The error is this "the Select...

  • RE: Are the posted questions getting worse?

    Congrats Gail. I think the creep of the Thread may have reached unstoppable speed at this point. 😛

  • RE: Restriction on Primary key

    In MySQL a foreign key can reference columns which don't have a uniqueness constraint on them, which is an excellent feature that more DBMSs really ought to support. There's no...

  • RE: Order by as a parameter to a stored procedure

    Technically speaking your Row_Number is in fact ordering, it is just ordering by the constant value of the parameter. 😉

    Be very very careful with what you are doing here. So...

Viewing 15 posts - 6,151 through 6,165 (of 15,381 total)