|
Hi,
I am a user of MySql. In Mysql we can go for the query
select * from Patient where time=(select max(time) from Patient);
Hope it will work for you. Check n update.
|
|
|
|
|
Hello,
i have two user schemas.
Let's Say A & B.
A has a procedure written in it SAY 'XProc'.
B has a package which has Procedure say 'B_Pack_Proc', which creates a dynamic view in B user schema.
The B_pack_proc creates view in B schema itself.
but i am executing the B_Pack_Pro from A, i am getting error insufficient privileges.
I am using oracle forms 11g and oracle DB 11g.
i have granted explicit grants to User A from User B
i.e Create any view
Execute on view.
please help.
-
Prathamesh
|
|
|
|
|
Have you given user A privileges to execute the package?
GRANT EXECUTE ON B.packagename TO A;
|
|
|
|
|
i have explicitly granted permission on the view, package and the tables in the views.
still not working
-
Prathamesh
|
|
|
|
|
What's the exact error message?
|
|
|
|
|
I created a table in ms access, and then i wanted to connect it to a java gui front end using type 1 driver. so i tried to create an odbc dsn for access. the test for connection failed while creating the dsn itself. Any suggestions will be extremely helpful, thanks.
|
|
|
|
|
Aravinth Spirited wrote: the test for connection failed while creating the dsn itself. Any suggestions will be extremely helpful, thanks. Did the test fail silently, or was there an error-message?
I suggest you add that message to your question.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Please don't cross-post across forums - Quick Answers MS ACCESS ODBC problem[^] - it won't get your question answered any quicker!
|
|
|
|
|
Use a DSN-less connection like OLEDB. It is much faster than ODBC anyway.
"Go forth into the source" - Neal Morse
|
|
|
|
|
When there is case for writing a many number of mysql command line in VB.NET programming to how to write the module or dll file to handle easily all the command .Please suggest other weblinks or code project article in this discussion. If there is any further idea also add to this discussion.
Online Mysql with VB.Net 
|
|
|
|
|
Sounds like you are trying to build a Data Access Layer (DAL), there are many articles and examples on this subject.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Thanks for your replay can you please suggest me the better links to refer that will help me to create my own DLL file .
|
|
|
|
|
Hi,
am developing application in .net,c#.
am saving datetime value as: yyyy-MM-ss HH:mm:ss (24 hour format)
after saving in database i observed in database , it's stored in specified format .
and here the problem is:
when i retrieve data , datetime is coming as 12 hour format.
what to do........
|
|
|
|
|
When you store date/time AS date/time in database you store some binary (like milliseconds since 1st of January 1970). Database do nothing and care less about the representation of that date/time. You have to look into the code to see where the problem (you may have locals with 12 hours).
If you store date/time as string - you do a big mistake!!!
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
it's ok, but how to add milliseconds.
actually, in c# am using DateTimePicker control.this will give only (year-month-date hour:minutes:seconds)
it doesn't support milliseconds.
so , Is there any way to get the data stored in database as it is.(24 hour format)
|
|
|
|
|
You didn't read or didn't understand what I've told - database do not store date/time in any format but binary!!!
For proper formatting in your DateTimePicker go to the help of that specific control...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
You store DateTimePicker.Value, not DateTimePicker.Value.ToString() or DateTimePicker.Text. Also make sure that you set the display format of the DateTimePicker to the format you want to see.
|
|
|
|
|
Member 10263519 wrote: am saving datetime value as: yyyy-MM-ss HH:mm:ss (24 hour format)
That statement is FALSE unless you are storing the value in the database as TEXT.
Because it is false your conclusions of what happens after that is incorrect.
|
|
|
|
|
Databases save datetime values as numbers.
There is no datetime format in which the computer system stores a datetime.
Once you understand this you can then understand that the format of the datetime data returned to you will be dependent on the collation of your database, when you perform a simple select,or the format you extract the data as.
All you need to remember is that the datetime value is saved, within the database, as a number and you will then understand that all formatting issues are resolvable.
N.B. for this reason never save a datetime as a string as if you do you will lose precision.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
i want to use temporary tables in my desktop application which i am developing in vb.net.Anyone please help me with a sample example using temporary tables.
|
|
|
|
|
|
Hi Everybody,
Please note that I am not a very senior developer so want help from you guys...
We are going to start a new project which is very similar to Shopify. The proposed solution will include the following,
1. A admin site which manages Merchants. Here the merchants will have multiple stores under him.
2. A Tablet client which downloads/updates the data from/to the website using web services.
My questions is,
1. So while designing the database model whether is it a good idea to keep separate databases for each merchant or keep a single database?.
2. How much data can be kept in a single table?.
3. Regarding the scalability and maintainability which is the proper design, single database or multiple database?
4. Is there a bottle neck in MS SQL server when creating multiple databases instead of one?.
5. Which kind of sever solution in this case we need to propose, Cloud based database or Godaddy like hosting server?. Can a godaddy like hosting service provide a performance like Amazon.
Please note that we are planning to use MS SQL server for keeping the data.
Thanks & Regards,
Nitheesh George
Nitheesh George
http://www.simpletools.co.in
|
|
|
|
|
1. Single database is the better design, there are strategies to handle large volume. Extreme data (think Google, facebook, Amazon etc) requires a different strategy but it is probably too early to begin taking that into account.
2. Much more than a startup site can expect to see.
3. See 1 - same question
4. Don't create multiple databases - removes the question.
5. Performance like Amazon is above and beyond your short/medium term expectations, I imagine they have a large dedicated team simply looking after their database systems. Any of the hosting companies will be delighted to meet you short/medium term needs.
If your database is designed properly it will be scalable, I would suggest getting a professional to design your system. An excellent specification will facilitate the design.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Nitheesh George wrote: How much data can be kept in a single table? 524,272 TB (Source[^])
Please do notice that 16 TB is the max file size.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Quote: 1. So while designing the database model whether is it a good idea to keep separate databases for each merchant or keep a single database?.
Separate databases with separate security credentials. You really don't want a data breach if you can possibly avoid it.
Quote: 5. Which kind of sever solution in this case we need to propose, Cloud based database or Godaddy like hosting server?.
Cloud database - as you have already specified SQL Server I recommend SQL Azure.
|
|
|
|