|
Please note that VB6 and .NET ADO interop are not supported anymore. This forum post does not imply any future support of these out-of-support technologies.
and
we drastically underestimated the number of customers who were recompiling ADO applications on Windows 7 SP1. Even worse, when I say drastically, I really mean DRASTICALLY."
suggest to me that MS aren't expecting people to still be actively developing ADO-based projects.
|
|
|
|
|
viaducting wrote: Please note that VB6 and .NET ADO interop are not supported anymore
That's saying something about VB6 and ADO interop. Not a statement on the future of ADO.
viaducting wrote: suggest to me that MS aren't expecting people to still be actively developing ADO-based projects.
Second statement merely explains how a specific bug surprised the team.
viaducting wrote: suggest to me that MS aren't expecting people to still be actively developing ADO-based projects.
VB6 is deprecated, and yes, I imagine that they extend that to the combination of ADO and VB6. There is no official statement that ADO is being phased out.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
I'm confused here on Oracle 11.g Express. This is my first day using it, I read some of the documentation, but some things are not clear.
I was trying to create a database, but it seems like you just create connections, and that XE is the default database.
My question is XE the only database you can work with because it's the express edition?, or am I just completely missing something here.
It's been over 5 years since I have worked with anything other that SQL Server 2005+, so I'm kind of fuzzy here on the Oracle. I was able to setup user accounts, and write my stuff for asp,net to connect using the Oracle DLL.
modified 30-Oct-12 16:30pm.
|
|
|
|
|
[SOLVED]
I think I figured it out. I think XE is the sample database.
So I was able to create a new database, and then a tablespace, and made my tables, and was able to connect to it using asp.net, and read the data.
So far so good, until something else comes up.
|
|
|
|
|
You're on the right track.
But Oracle has a different archtecture than SQLServer. You are not supposed to create several databases on one computer, that's just a waste of resources.
So a few concepts:
Quote: René Nyffenegger In Oracle terminology, a user is someone who can connect to a database (if granted enough privileges) and optionally (again, if granted the appropriate privileges) can own objects (such as tables) in the database.
The objects a user owns are collectively called >schema. A schema, on its part, is always bound to exactly one user. Because there is obviously a 1 to 1 relationship between a user and a schema, these two terms are often used interchangeable.
The tablespace is a logical storage area containing of one or more physical datafiles. There can be one or more Schema's stored in one tablespace.
The tablespace is the equivalent to the database in a SQLServer, except that that would be a lie. It's just not the same thing
Now you have all the keywords you need to google all the info you need.
What you should do when you create a new application is to create a tablespace for it, to separate the data for easier handling when exporting for example.
Then create a new user having this new tablespace as the default tablespace. And using this user, create your objects, and you will have a new schema that your application can use.
People say nothing is impossible, but I do nothing every day.
|
|
|
|
|
Thank you, for the clear explanation of differences between Oracle and SQL Server.
I just wasn't able to put the relationships together, but now I get it. It seemed so different, and when I searched the terms, I would get fragments of information.
I never did understand the schema, and sort of ignored it in exchange for hey it works, but I can see how I need to learn that now.
That was a well written explanation that I'm sure others will stumble upon in their search.
|
|
|
|
|
Thanks!
I just didn't feel that it was very clear myself. But if you know the keywords and concepts you can google it.
If you don't know what to google for, you can be stuck.
Here's[^] a comparison that I find very useful when I need to "translate" functionality between SQLServer and Oracle.
People say nothing is impossible, but I do nothing every day.
|
|
|
|
|
I needed that chart. I used a char for boolean Y/N, just going to change it to a number with 0/1.
At the moment, I'm not that thrilled with using it, but on day 2, I got all my stuff working fine. I won't see any thing that I can measure till Friday, when I put the 1000 parts in it, and take it for a test drive.
Guess I made the right choice on using the ODP.Net, instead of the Microsoft equivalent, since the latter is being phased out.
Today is day 3, guess I'm making good progress with it.
I decided to try it because of the complaints I received using SQL Server 2008 from customers that refused to buy my ecommerce software. They said they used a Java SQL Server, and that they wouldn't use that piece of junk, I didn't know what to make of that comment.
So when I mentioned to this customer that I would use Oracle for there project, they got all excited about it.
Just out of curiosity, what do think of the Oracle 11.g Express?
|
|
|
|
|
I have never used the express version, but I understand that functionality is almost the same as the standard version except that it uses only one processor and maximum database size of 4GB. There's You will also only find bitmap and cluster indexes on the enterprise edition
So for development and small applications with low performance demands it should be just fine.
Just keep in mind that there is no built in backup in the express version, so if you're having a catastrophic failure you're f***ed. Unless you create your own backup, which isn't overly easy.
But flashback queries works, and that's what I use in 99% of the cases anyway.
People say nothing is impossible, but I do nothing every day.
|
|
|
|
|
jkirkerx wrote: I needed that chart. I used a char for boolean Y/N, just going to change it to a
number with 0/1.
There's nothing wrong with using Y/N as such, it uses only one byte of storage just like the zero, while the one uses two bytes.
But 0/1 implicitly translates to boolean TRUE/FALSE in dot.net, while Y/N needs a bit of logic to convert to a boolean. Not that I recommend implicit conversions.
People say nothing is impossible, but I do nothing every day.
|
|
|
|
|
I think it's 11 gigs, thus the name 11g. I'm going to 0/1 on the boolean, just use to it.
I'll have to look up the backup feature, but it's 1 cpu 1 core, 1 gig, oh well it's free to use. I'm starting to like it, makes sense now.
[Day3]
I got the ODP client software working on the web server, the xcopy version. And the 11gXE working on the database server and tested the connection added SQL Explorer and EMS SQLServer, took about an hour to download, extract and run.
My asp.net code is working using the ODP client, so far so good.
I need to get my tables or my table file from my computer to the database server. In SQL Server 2008, I can just copy the files over and attach, is that possible on Oracle?
|
|
|
|
|
Hi,
On my report i have used the following to display 100 reports per page =Floor((RowNumber(Nothing) - 1) / 100).
The records are grouped by department.
However I'm getting the group header on everypage.
For example if I have 200 records for Department2 and 50 records for Department2,
on the first page Department1 is displayed followed by 100 records and on page 2 the Department1 is displayed again followed by 100 records. I want the Department1 to be displayed only once even if the next 100 records are on the next page
Any advice?
|
|
|
|
|
when i click on a link, i should get a list of values from the database into the html page.i am using asp for connectivity.
|
|
|
|
|
nuts15 wrote: when i click on a link, i should get a list of values from the database into the html page.i am using asp for connectivity.
Classic ASP? There are tutorials here[^]. You'd need to learn a server-side language, and how to talk to the database.
Meaning, you'll have to learn to program it; there's little chance someone else will post the code - in this case, someone might, as it is part of the basics. If you have a specific question or get stuck, I'll gladly help.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
i have crystal report delivery in which i want display product list and hv done it bt i want to display returns product list below current product sale and adjust the amount from current amount to previous product return amount. also i would like to mention that data come from two tables of same dataset. i have tried to do that by adding two tables column name at detail field it shows record current product list but not all list of previous product list. is there any other way to solve this problem? thnks in advance
|
|
|
|
|
You'll need a Sql-statement to fetch the data. Are you familiar with the "join"-keyword? If not, start there.
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
thnks for ur suggestion. i hv Access database due to this have problem. yes i m familiar with join concept. bt i doesn't work for my requirement.
is there any solution?
|
|
|
|
|
Azher.Cybertech wrote: yes i m familiar with join concept. bt i doesn't work for my requirement
I'm sure the examples don't work as-is. You'll need to write some Sql to gather the required results
Bastard Programmer from Hell
if you can't read my code, try converting it here[^]
|
|
|
|
|
sql server 2008 table convert to xml files
|
|
|
|
|
shannya wrote: sql server 2008 table convert to xml files
Is that a statement or a question?
If it's a statement, tell us more.
If it's a question look herehere.
By the way, it would be more polite to tell us what do you want to know and ask a real question.
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|
|
select*from <Table Name> for xml path ('Head')
select*from <Table Name> for xml path ('Head') ,root('Title')
select*from <Table Name> for xml raw
try like this there are more formats
modified 26-Oct-12 15:29pm.
|
|
|
|
|
Seems that you inserted html code that corrupts the output of codeproject. The topics after yours are missing and if I open your answer I see the others again but displayed wrong!
------------------------------
Author of Primary ROleplaying SysTem
How do I take my coffee? Black as midnight on a moonless night.
War doesn't determine who's right. War determines who's left.
|
|
|
|
|
select*from for xml path ('Head')
select*from for xml path ('Head') ,root('Title')
select*from for xml raw
try like this there are more formats
|
|
|
|
|
(SELECT * from [db].[schema].[tbl] FOR XML PATH(''),ROOT(''))
|
|
|
|
|
Hello All,
When designing an application, desktop or web, what is the best way to manage users that must access a database?
Is it better to have a single group that all users belong to and let the application manage all the security?
Or setup different groups with different permissions on the database and then associate users with that and whatever security the database can't manage handle that in the application?
Or is there a third way that I am just not seeing?
Thanks,
Koshbert
|
|
|
|