I am creating serialized XML for a LINQ to SQL project using the DataContractSerializer class. Upon serialization and inspecting the returned object, I get XML that looks like this.
- <ContentObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyProject.Data.Model">
<_x003C_ID_...
Can anyone tell me how to set the default value on a date field in Open Office Base, in the same way that GetDate() works for SQL Server?
Cheers
OneSHOT
...
I have around 400 GB Live mysql Databases on one server and I like to create a mirror for this database.
In the server I have database ranging from 1 GB to 100 GB.
What are the best practices available that I can use?
My purpose is that I should be able to switch in case of emergency.
It should have all live data.
Thanks.
...
When using MySQL 5.1 Enterprise after years of using other database products like Sybase, Infomix, DB2; I run into things that MySQL just doesn't do. For example, it can only generate an EXPLAIN query plan for SELECT queries.
What other things I should watch out for?
...
Is it possible to update a different ODBC database from withing a SQL Server Stored Procedure. For example, say I have Access, MySQL, etc. I update my SQL Server database and I want the stored procedure to update the other ODBC database. Kind of like a poor man's replication.
Is there a better way to replicate between different datab...
Say on my old site I have one level categories of products, with one category being "BMW Cars".. inside of that, I have some products : "328i" , "M3", "M5", "X5"... so basically it is a big mix of everything - cause in the beginning we didnt separate the product line into finer categories.
Now we are building a new site, and have a 2 le...
I have one table that includes company information (i.e. name, address, business description...) and another table that has user information (i.e. first name, last name, email and password). How do I tie the company table to the user table so that when the user logs in, the company is properly associated with the user? Would I have a use...
This is a simplified version of a query we are running where we need to find all rows in the main parent table where the child rows match. The query below returns no results when one of the child tables is empty.
The main table has two child tables:
CREATE TABLE main (id INT PRIMARY KEY, name VARCHAR(8));
CREATE TABLE child1(id INT P...
I don't know much about programming so will be hiring someone to do it for me, but I was wondering what things would you think would be needed to get certain tweets from Twitter-probably using the Search API & then analyse them & link them to other tweets, before then outputting them into a spreadsheet or similar. What I mean is-would i...
Hi
I am new to wordpress and I want to create an interface for being able to access my database hosted on wordpress in my mobile applications - particularly iPhone and Android.
As these do not directly access SQL databases and would need routines on the server-side for being able to do so, what would be the best way for me to go about ...
I am in the processes of replacing the framework for a fairly complex business web application. Our application runs on a LAMP platform and the new framework will be an extension of CodeIgniter. In my research for framework design I decided to look into ORM, I have never done ORM before and I wanted to know if it would be valuable for ...
I am using the nested set model to store a large hierarchy of data in a local SQLite database on an iPhone. I read the MySQL tech article from their web site on how to do this, but one of the queries they suggest (and that I need) doesn't appear to work with SQLite and I'm not sure how to get around it.
SELECT node.name, (COUNT(parent.n...
I'm doing a project to manage membership and other kind of payments, but mainly membership so I created a polymorphic schema. any idea, improvement, for some reason I don't fully convinced about the schema.
as you will see, the idea of having month, year NULL-ABLE is allow save record of any other payment
CREATE TABLE IF NOT EXISTS `o...
According to the definition, a Junction Table (bridge table/link table) is used for many-to-many relationships, when used like this:
CREATE TABLE Users
(
UserLogin varchar(50) PRIMARY KEY,
UserPassword varchar(50) NOT NULL,
UserName varchar(50) NOT NULL
)
CREATE TABLE Permissions
(
PermissionKey varchar(50) PRIMARY KEY,
PermissionDesc...
How many of you are actually using pure XML databases over RDBMs? The former seem to be gaining momentum, but I don't understand the advantage. Anyone cares to explain?
...
I don't see an answer to this question here on SO which makes me afraid that it's incredibly simple and I'm just missing something but here goes.
Background, feel free to skip: I need a single course for my bachelor's degree that I skipped out on years ago. Theoretically it's Computer Graphics, but since I left it has become more Game...
Hello, I want to program against various databases in C. I want to know if all of the major database providers, Oracle, DB2, Sql Server, MySql have an api to use for C. If they all do can you give me some links to what the are but more specifically, how to work with the api?
thanks
...
Has anyone been successful doing this w/o php, asp, etc...? I can get this far: http://www.pastey.net/113859/20 but can't figure out a simple way to make it an HTML list... any help would be GREATLY appreciated.
...
How do I populate a int column, currently empty, with random numbers with no duplicates?
...
In my present Rails application, I am resolving scheduling conflicts by sorting the models by the "created_at" field. However, I realized that when inserting multiple models from a form that allows this, all of the created_at times are exactly the same!
This is more a question of best programming practices: Can your application rely on ...