PostgresException: 42P01: relation "waitdb" does not exist

Clark Leovison Rey 0 Reputation points
2024-12-07T06:57:38.4266667+00:00

Hi,

I was having a trouble about 42P01:relation when using postgres sql, Here's the code that i've been using and for my tables here's the table.

For my configuration, is there something wrong with it? Thank you for response, since i am new to c#User's imageUser's image

User's image

Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. NIKHILA NETHIKUNTA 4,020 Reputation points Microsoft Vendor
    2024-12-15T18:20:30.9866667+00:00

    @Clark Leovison Rey
    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer .

    Ask: Facing issue when using Postgres SQL. Receiving an error 42P01

    Solution: Changing the table name fixed the issue

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.