CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: davide++

Page 1 of 19 1 2 3 4

Search: Search took 1.05 seconds.

  1. Replies
    3
    Views
    5,453

    Re: Invalid relational operator

    Hi all.

    You cannot use the IF-THEN-ELSE statement in SELECT command; unfortunately you cannot use CASE-WHEN statement in WHERE condition.
    Try using an usual join, with outer of join operator;...
  2. Replies
    5
    Views
    1,603

    Re: Foreign Key Help

    Hi all

    A part from the syntax error, I think there's a problem about fields' data type. In Customers table the primary key is char(5), while in Orders table the foreign key is integer; The two...
  3. Replies
    8
    Views
    1,071

    Re: DB Selection

    Well, it depends on which kind of application you're going to develop.
    If the application is a mono-user program with a little amount of data to manage, I agree with Krishnaa, Access is the best...
  4. Replies
    1
    Views
    813

    Re: Indexing a table

    Hi all.

    The size was increased because you added the index; usually indexes are implemented as a special
    table that holds the values and the link to the record. This table requires space, of...
  5. Re: [RESOLVED] Query for when there is no join

    Hi all.

    If I have understod what you did, you added a table with one column that says what messages are taken from file, and you're trying to write a join on the two tables to select the message...
  6. Replies
    5
    Views
    23,577

    Re: HELP! Oracle error with ORA-01019

    Hi all.

    I found this explanation about the error you got.

    ORA-01019 unable to allocate memory in the user side
    Cause: The user side memory allocator returned an error.
    Action: Increase the...
  7. Replies
    11
    Views
    1,191

    Re: Help with Linked List please

    Hi all.
    The first problem I see is that *next isn't filled with NULL when you create a new node; so it contains a random value and probably you get a crash when scan the list using while loop....
  8. Replies
    30
    Views
    10,743

    Re: Is STL important?

    Hi all.

    Only 30 pages????
    It's a little introduction to the topic!!!!!

    Well, I've developed in C++ for long time, and I used STL very rarely. But I think that it's a very important argument,...
  9. Replies
    3
    Views
    1,186

    Re: basic c++ problem

    Hi all.

    Maybe I'm wrong, but I remember that #define macro replaces the symbol in code at pre-compiled time.
    So the preprocessor changes the statement


    balance=balance+amnt_deposit;

    in
  10. Re: very large amount of data: how to speed up? or what databse to choose

    Well.
    Indexing is one of the most important element of a good design, but when data is so big it cannot solve all problems. Yes, it's true, searches based on indexes are fast and their speed tend to...
  11. Re: very large amount of data: how to speed up? or what databse to choose

    Hi all

    Well, this post seems to be related the previous one I saw.
    100 million of record is really "very large amount of data". I suggest Oracle (yes, I love it :) ), but beyond the db engine,...
  12. Replies
    6
    Views
    1,161

    Re: What database to use

    Hi all.

    Ok, I agree with dglienna, SQLExpress is more appropriate than Access, and later you can easily change it with SQLServer. But you have to manage a large amount of data, over 4 millions of...
  13. Thread: DB size

    by davide++
    Replies
    4
    Views
    855

    Re: DB size

    Hi all.

    You didn't say what db you're using. If it's Oracle, the fields VARCHAR(n) will be filled with blanks, so the table size will be 50000 bytes. Use instead VARCHAR2(n), the field won't be...
  14. Thread: Create file

    by davide++
    Replies
    2
    Views
    774

    Re: Create file

    Hi all.

    Maybe I didn't understand exactly what your requirement is.

    You're trying to open an existing file, "SampleTest.txt", whose short name is "sample~1.txt"; well, the file is one, there...
  15. Replies
    1
    Views
    1,196

    Re: MySQL: Storing Ms Office files

    Hi all.
    Well, it depends on your requirements.
    However I prefer to store links, for two reasons. First, you can save space on your database, and then you don't need to update the database when...
  16. Replies
    4
    Views
    1,404

    Re: best local database type otion

    Hi all.

    You didn't say what is your environment, what OS you're using.
    If it's Windows I suggest to use Microsoft Access as database.
    Access database is basically a local file, you don't need Ms...
  17. Re: Table lock after integrity maintanence completion

    Hi all.

    I don't know MS-SQL, and I don't know what exactly maintenance plan is. But I image that it means to check integrity data between tables, and you shouldn't insert new records when the plan...
  18. Replies
    3
    Views
    2,004

    Re: order by oracle and sql server

    Hi all.

    I've tried in Oracle 8.1.7.4 instance, and the result was what I expected



    SELECT N.* FROM (
    SELECT 'AS' M FROM dual
    UNION
    SELECT '5' M FROM dual) N
  19. Replies
    3
    Views
    7,337

    Re: ORA-01031: privilegios insuficientes

    Well, you don't need execute permission if you execute the procedure within the user that holds it (the user that created the procedure). If you want execute the procedure from another user, this...
  20. Replies
    3
    Views
    7,337

    Re: ORA-01031: privilegios insuficientes

    Hi all.

    Hard to say...
    Surely some privileges are missing.
    Do you get the error when yo're trying to create the stored procedure, or when you're trying to execute it?
    If you cannot create the...
  21. Replies
    5
    Views
    3,180

    Re: FLOAT vs NUMERIC for financial transaction

    Hi all.

    M$SQL provides "money", a specific data type for monetary data values.
    In my opinion it's the best choice.
  22. Replies
    3
    Views
    951

    Re: Common problem in my DataBase design !

    Hi all.

    Well, the statement "I have three type of clients completely different" sounds a bit strange for me; after all, a customer is a person, and for all db I've seen the table CUSTOMERS has...
  23. Replies
    5
    Views
    888

    Re: Help me with SQL query

    Hi all.

    You didn't say what db you're using, and what you can do depends on it.
    Anyway, you should use the string functions. For example, if your db was Oracle you would write



    UPDATE...
  24. Replies
    1
    Views
    3,508

    Re: CVDate() - Object Expected

    Hi all.

    First, CVDate is a function, so you must assign a value



    x = CVDate("19 June 2009");


    Then, I know it's a VBA function. Are you sure that it's supplied by the tools and...
  25. Replies
    2
    Views
    840

    Re: [RESOLVED] SQL Command Locks Machine

    You shouldn't use OR operator.
    Never.
    It slows down query execution; without brackets the db engine links all ANDs condition with the two OR choices so the query is very slow.

    Instead of ORs,...
Results 1 to 25 of 463
Page 1 of 19 1 2 3 4





Click Here to Expand Forum to Full Width

Featured