Skip to content

Database

Discussions on database access, SQL, and ADO

This category can be followed from the open social web via the handle database@forum.codeproject.com

17.1k Topics 61.8k Posts
  • SQL Query For String Searching

    database algorithms help question
    12
    0 Votes
    12 Posts
    0 Views
    L
    "It works on my machine" :cool:
  • 0 Votes
    9 Posts
    2 Views
    J
    Danzy83 wrote: n the design, data will be accessed by medical institutions so I have to consider connections to the server in advance. That is a business requirement not an implementation requirement. So exactly what do you think is going to be connecting to your database? And did you actually attempt to size this? How many requests will your product generate? How long will it take to process them? How many users will be using it? What is the expected sustained rate? What is the burst rate? If a request took 1 second and was made once an hour then you could handle 10,800,000 requests without reconfiguring anything on the database server. There are less than 6,000 hospitals in the US. There are less than 200,000 medical clinics. How many of those are there in your market? At least where I am selling into medical concerns is significantly difficult, even for institutions that have money. Many institutions operate on tight budgets. So expecting to own the entire market is highly unrealistic. (And yes I have worked on products in the medical industry.) So what is your real expected market share? What is your realistic expected growth rate? And this of course completely ignores how these places are going to connect to you. The "internet" means that you are going to expose your database directly to the internet. Which is a bad idea and I suspect (hope) that institutions would refuse to do business with that arrangement. Most performance problems occur due to architecture and design problems. Not technological problems. Attempting to solve serious performance problems with technology is likely to fail because technology only allows for incremental impacts on performance. And this of course presumes you use the technology right in the first place.
  • 0 Votes
    3 Posts
    0 Views
    M
    I agree with Sandeep, while it may impact your SSMS app it is only listening to traffic on the server and showing you the content, somewhat like a network sniffer! Never underestimate the power of human stupidity RAH
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Cassandra or MySQL?

    database mysql com question announcement
    3
    0 Votes
    3 Posts
    0 Views
    P
    Never heard of Cassandra.
  • SQL paging with search

    database csharp help css asp-net
    4
    0 Votes
    4 Posts
    0 Views
    J
    It is ordered by the stock code. Everything I said at the SQL level applies. You would write code in a db layer to do that. Then the GUI level would use the db layer.
  • Oracle Application expres

    database oracle design sales help
    5
    0 Votes
    5 Posts
    0 Views
    F
    Thanks. That worked. :)
  • I want to ask query related to mysql

    database mysql
    2
    0 Votes
    2 Posts
    0 Views
    M
    Do some reading around the datetime data type, there are various attributes that will help you. DayOfWeek (I think) returns 1-7 which can be used to get the info you need. Never underestimate the power of human stupidity RAH
  • 0 Votes
    2 Posts
    0 Views
    L
    What error? What did it say? Can you post you Sql-statement? Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]
  • problem in ado.net with access 2010

    csharp help tutorial database
    2
    0 Votes
    2 Posts
    0 Views
    M
    I will make 2 recommendations 1. Change to SQL Server database it will be much more useful to train on. 2. Learn to do some research this is an excellent tool[^] Never underestimate the power of human stupidity RAH
  • Sql server like clause

    database sql-server sysadmin
    6
    0 Votes
    6 Posts
    0 Views
    R
    by using this query you can achive you require output select * from rk_process where name like '%lee0%' --raj :-O
  • 0 Votes
    4 Posts
    0 Views
    J
    Besides just importing it you might want to consider if you really want to have a table with that many columns.
  • SQL Group By Question

    database question
    3
    0 Votes
    3 Posts
    0 Views
    L
    Thanks for your time!
  • Database design question

    question css database design regex
    6
    0 Votes
    6 Posts
    0 Views
    J
    PIEBALDconsult wrote: Yet shouldn't there be some sort of an adjustment record th An Audit record. The audit records would also keep track of things like voided transactions, reversed items, etc.
  • 0 Votes
    4 Posts
    0 Views
    P
    Allan Watkins wrote: a DataTable gets fully populated That sounds like a bad idea; there's no need to have more than one record in memory at a time. Allan Watkins wrote: cannot be converted Sounds like you may need to specify a Parse routine. Take a look at the values that are causing the trouble -- it's possible that they are empty.
  • show Sum(Balance) as ob on Rows Header and add next rows balance in ob

    3
    0 Votes
    3 Posts
    0 Views
    H
    Thanks For reply the solution you provide help me lot and i am about to solve my problem..
  • Subquery returns more than 1 row

    announcement sharepoint database com help
    7
    0 Votes
    7 Posts
    0 Views
    L
    MaulikDusara wrote: Please also check my other resolutions. That's the point; he should not "try resolutions", but analyze the bug; if there are multiple records coming back on a key-field selection, chances are that there's an inconsistency. Selecting the "top 1" might hide that problem a little longer. Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] They hate us for our freedom![^]
  • 0 Votes
    13 Posts
    0 Views
    B
    Groan! :laugh:
  • On the Naming of Columns for Lookup tables.

    database csharp css design business
    9
    0 Votes
    9 Posts
    0 Views
    B
    Duh, no. :doh: I had crossed channels in my mind when I write that. :-O
  • ODBC Returns Wrong Data

    database csharp sysadmin help question
    15
    0 Votes
    15 Posts
    0 Views
    G
    jschell wrote: Given the size maybe you can convert it to a varchar in the SQL. Disassociation from the type might fix the problem Hmmm...I'll give that a try. YouTube and My Mu[sic], Films and Windows Programs, etc.