How to connect SSIS to an Excel 2007 via OLE DB ...
Hello everyone!
Firstly, I want to make this a BIG thank you to Radu - happy birthday ;-) - for the tip I'll present below: How to connect SSIS to an Excel 2007 via OLE DB.
Indeed, the Microsoft OLE DB Provider Jet can not connect to Excel 2007.
However, it is possible to connect to an Excel 2007 workbook using the Microsoft Office 12.0 Access Database Engine OLE DB Provider.
The first step is to create the OLE DB connection and to specify the provider. Then, the data source, which is obviously the file you want to use.
What seems surprising is that at this stage, the connection does not work.
You then take your little Martha and the All tab in the properties of your OLE DB connection type the value "Excel 12.0" in the extended properties ...
Oh, miracle of technology, the connection becomes operational ...
Thursday, March 22, 2007
Tuesday, March 20, 2007
Isabella Soprano En Cathouse
SQL Server 2005 standard stricter than the W3C XSD
Hello everyone!
Following a relevant question from a client, I tried to understand why an XSD schema seems perfectly valid to me generated an error inserting the data ...
Once isolated problem, I was able to perform the following test:
DROP TABLE TestXML
GO DROP XML SCHEMA COLLECTION TestDateRestriction
GO DROP XML SCHEMA COLLECTION TestDateRestrictionTimeZone
GO CREATE XML SCHEMA COLLECTION AS TestDateRestriction
'\u0026lt;? xml version = "1.0" encoding="utf-8"?>
<xsd:schema targetNamespace="http://tempuri.org/TestDateRestriction.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns="http://tempuri.org/TestDateRestriction.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="root">
<xsd:simpleType>
<xsd:restriction base="xsd:dateTime">
<xsd:pattern value=".+T[^Z+-\.]+" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:schema>'
GO
CREATE XML SCHEMA COLLECTION TestDateRestrictionTimeZone
AS
'<?xml version="1.0" encoding="utf-8"?>
<xsd:schema targetNamespace="http://tempuri.org/TestDateRestriction.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns="http://tempuri.org/TestDateRestriction.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
<xsd:element name="root">
<xsd:simpleType>
<xsd:restriction base="xsd:dateTime">
<xsd:pattern value=".+T[^+-\.]+Z" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element></xsd:schema>'
GO
CREATE TABLE TestXML
(
IdTB INT IDENTITY(1, 1) NOT NULL
CONSTRAINT PK_TestXML PRIMARY KEY CLUSTERED,
XMLTB XML (DOCUMENT TestDateRestriction) NULL,
XMLTBTimeZone XML (DOCUMENT TestDateRestrictionTimeZone) NULL
)
GO
INSERT INTO TestXML (XMLTB) VALUES (N'<r:root xmlns:r="http://tempuri.org/TestDateRestriction.xsd">2005-03-22T08:35:00</r:root>') GO INSERT INTO
TestXML (XMLTBTimeZone) VALUES (N '\u0026lt;r:root xmlns:r="http://tempuri.org/TestDateRestriction.xsd"> 2005-03-22T08: 35:00 Z \u0026lt;/ r: root> ') GO
The result is the following: SQL Server 2005 does not allow dates without specifying the flag Time Zone.
Now, as part of DateTime types, the XSD standard does not indicate the presence of TimeZone specified in ISO 8601 as specified in the W3C specifications: http://www.w3. org/TR/2005/WD-xpath-datamodel-20050211 / # Storing -timezones ...
However, the above example proves definitely the choice of SQL Server to comply with ISO. This information is confirmed by this article from the MSDN: http://msdn2.microsoft.com/en-us/library/ms345115.aspx # sql25xmlbp_topic3 (see "Using xs: datetime, xs: date and xs : time ").
The only question that remains is the reason for this choice requires that poses a compatibility problem: I have the XSD is taxed and shared by many users and therefore can not be changed ...
Happy reading!
Hello everyone!
Following a relevant question from a client, I tried to understand why an XSD schema seems perfectly valid to me generated an error inserting the data ...
Once isolated problem, I was able to perform the following test:
DROP TABLE TestXML
GO DROP XML SCHEMA COLLECTION TestDateRestriction
GO DROP XML SCHEMA COLLECTION TestDateRestrictionTimeZone
GO CREATE XML SCHEMA COLLECTION AS TestDateRestriction
'\u0026lt;? xml version = "1.0" encoding="utf-8"?>
<xsd:schema targetNamespace="http://tempuri.org/TestDateRestriction.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns="http://tempuri.org/TestDateRestriction.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="root">
<xsd:simpleType>
<xsd:restriction base="xsd:dateTime">
<xsd:pattern value=".+T[^Z+-\.]+" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:schema>'
GO
CREATE XML SCHEMA COLLECTION TestDateRestrictionTimeZone
AS
'<?xml version="1.0" encoding="utf-8"?>
<xsd:schema targetNamespace="http://tempuri.org/TestDateRestriction.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns="http://tempuri.org/TestDateRestriction.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
<xsd:element name="root">
<xsd:simpleType>
<xsd:restriction base="xsd:dateTime">
<xsd:pattern value=".+T[^+-\.]+Z" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element></xsd:schema>'
GO
CREATE TABLE TestXML
(
IdTB INT IDENTITY(1, 1) NOT NULL
CONSTRAINT PK_TestXML PRIMARY KEY CLUSTERED,
XMLTB XML (DOCUMENT TestDateRestriction) NULL,
XMLTBTimeZone XML (DOCUMENT TestDateRestrictionTimeZone) NULL
)
GO
INSERT INTO TestXML (XMLTB) VALUES (N'<r:root xmlns:r="http://tempuri.org/TestDateRestriction.xsd">2005-03-22T08:35:00</r:root>') GO INSERT INTO
TestXML (XMLTBTimeZone) VALUES (N '\u0026lt;r:root xmlns:r="http://tempuri.org/TestDateRestriction.xsd"> 2005-03-22T08: 35:00 Z \u0026lt;/ r: root> ') GO
The result is the following: SQL Server 2005 does not allow dates without specifying the flag Time Zone.
Now, as part of DateTime types, the XSD standard does not indicate the presence of TimeZone specified in ISO 8601 as specified in the W3C specifications: http://www.w3. org/TR/2005/WD-xpath-datamodel-20050211 / # Storing -timezones ...
However, the above example proves definitely the choice of SQL Server to comply with ISO. This information is confirmed by this article from the MSDN: http://msdn2.microsoft.com/en-us/library/ms345115.aspx # sql25xmlbp_topic3 (see "Using xs: datetime, xs: date and xs : time ").
The only question that remains is the reason for this choice requires that poses a compatibility problem: I have the XSD is taxed and shared by many users and therefore can not be changed ...
Monday, March 19, 2007
Sunday, March 18, 2007
How They Make Natural Yogurt With Worms
New Blog
Do not get upset long! Immediately decided and done.
So I created a new blog. After going to the right and left, I enrolled in three blog platform and that of loud and seemed to me the easiest to implement especially in terms of design.
By cons I spent time ais. Almost all day to do something I like. I proceeded by trial and error because I did not know enough html to do that finger in the nose.
I managed to remove the right column because on these blogs, there is no choice: a column on the right and left hand and a space too tight for my taste for the middle grades .
I managed also to put color to my taste (must love the warm colors and bright), because there also the proposed models, bof, bof! By cons impossible to cram my background image. I do not despair to get there someday, but for now it remains united around.
So now here you go:
http://umanimo.hautetfort.com/
So I created a new blog. After going to the right and left, I enrolled in three blog platform and that of loud and seemed to me the easiest to implement especially in terms of design.
By cons I spent time ais. Almost all day to do something I like. I proceeded by trial and error because I did not know enough html to do that finger in the nose.
I managed to remove the right column because on these blogs, there is no choice: a column on the right and left hand and a space too tight for my taste for the middle grades .
I managed also to put color to my taste (must love the warm colors and bright), because there also the proposed models, bof, bof! By cons impossible to cram my background image. I do not despair to get there someday, but for now it remains united around.
So now here you go:
http://umanimo.hautetfort.com/
Saturday, March 17, 2007
Milena Velba At The Car Wash
I feel ... The half ton
... I'll go ask my bags again elsewhere.
I had the misfortune of wanting to move to the new version of Blogger, which is coupled with google.
Since I have big problems connecting. The site no longer accepts my password. I have to reset it each time. I put the same course, but the next connection, Rebelote.
Shit!
So I'll find another platform Blog and probably move again my household gods.
I had the misfortune of wanting to move to the new version of Blogger, which is coupled with google.
Since I have big problems connecting. The site no longer accepts my password. I have to reset it each time. I put the same course, but the next connection, Rebelote.
Shit!
So I'll find another platform Blog and probably move again my household gods.
Thursday, March 15, 2007
Support Hose For Women
I suffered a lot in my childhood of my weight. The "half ton" is the nickname given me by my cousin. One can imagine how this sweet name would delight the girl that I was hyper sensitive.
In fact, I have begun to grow until about age 8 / 9 years. I have photos that predate the time when I was pretty skinny. My mother told me: "you did not eat anything at the time, I had to fight to make you eat."
Knowing my mother and her reactions now facing food and imagining it to do so well when we were younger, my sisters and I think his long-sapping then had begun to bear fruit. She has always associated "pain => eat for solace."
How can you expect in this context and having in addition, hereditary tendency to store, I was not overweight as a preteen?
My nightmare every night coming home from college was going through a street where I met the boys coming out of college boys (No mixing at the time) and wiped their mockery.
I was too cluttered with my big boobs and I was ashamed too. When we went on vacation in the village small family, I spent several days in hiding before I decide to go play with other children. And it was always with reluctance. On alert, fearing every moment thinking that would demolish my fragile equilibrium.
From the age of 18, I started the downward spiral of plans where you lose 15 kilos and 20 we resumed immediately. I do not know how many times I lost weight ... gained any weight and then with interest.
The latest is after my pregnancy: lost 17 pounds, taken 25.
So when a doctor tells me to lose weight, I always say no. I know I have too much weight. It asks me problems in my daily life, but do it again the same thing, no thank you, I have given enough.
In fact, I have begun to grow until about age 8 / 9 years. I have photos that predate the time when I was pretty skinny. My mother told me: "you did not eat anything at the time, I had to fight to make you eat."
Knowing my mother and her reactions now facing food and imagining it to do so well when we were younger, my sisters and I think his long-sapping then had begun to bear fruit. She has always associated "pain => eat for solace."
How can you expect in this context and having in addition, hereditary tendency to store, I was not overweight as a preteen?
My nightmare every night coming home from college was going through a street where I met the boys coming out of college boys (No mixing at the time) and wiped their mockery.
I was too cluttered with my big boobs and I was ashamed too. When we went on vacation in the village small family, I spent several days in hiding before I decide to go play with other children. And it was always with reluctance. On alert, fearing every moment thinking that would demolish my fragile equilibrium.
From the age of 18, I started the downward spiral of plans where you lose 15 kilos and 20 we resumed immediately. I do not know how many times I lost weight ... gained any weight and then with interest.
The latest is after my pregnancy: lost 17 pounds, taken 25.
So when a doctor tells me to lose weight, I always say no. I know I have too much weight. It asks me problems in my daily life, but do it again the same thing, no thank you, I have given enough.
Tuesday, March 6, 2007
Arizona Rx Energy Herbal Tonic Intense
I like big
Yes, whatever the cult of youth and mincisme ambient, I like big.
I realized a few years ago that I was more attracted to (I mean the physical) male overweight than men thin. I do not even speak of scarce!
I repeat that I am speaking only in terms of physics course, so in fact, sexual attraction. Because that's what it means to speak without jargon.
For the rest, the person's physical matter to me. I must be in love with a man who is not fat, so just because it interests me intellectually. But I wonder if he will not miss a little something.
I already feel that this statement could generate. It is not fashionable now to be attracted to those of you who are not in the standard. Asserting that only likes men (or women) or even thin films (the limit to the thinness) does not shock anyone.
Saying that likes big or large makes you rather go for a (an) evil (e) or (e) a hypocrite.
is almost considered a sexual deviant as well as necrophilia or bestiality. Or, you look like the poor person who says he likes big (big) not to admit that he is unable to attract a (e) thin. It therefore falls back on what he finds, that is left out of seduction.
Well no! Me I like big and I shouted loudly. Flesh wrapped snugly fat, belly prohéminent (not too much, not the beer belly, everything must be in harmony), legs shoulder support (vade retro rooster calves) and I want to touch.
I realized a few years ago that I was more attracted to (I mean the physical) male overweight than men thin. I do not even speak of scarce!
I repeat that I am speaking only in terms of physics course, so in fact, sexual attraction. Because that's what it means to speak without jargon.
For the rest, the person's physical matter to me. I must be in love with a man who is not fat, so just because it interests me intellectually. But I wonder if he will not miss a little something.
I already feel that this statement could generate. It is not fashionable now to be attracted to those of you who are not in the standard. Asserting that only likes men (or women) or even thin films (the limit to the thinness) does not shock anyone.
Saying that likes big or large makes you rather go for a (an) evil (e) or (e) a hypocrite.
is almost considered a sexual deviant as well as necrophilia or bestiality. Or, you look like the poor person who says he likes big (big) not to admit that he is unable to attract a (e) thin. It therefore falls back on what he finds, that is left out of seduction.
Well no! Me I like big and I shouted loudly. Flesh wrapped snugly fat, belly prohéminent (not too much, not the beer belly, everything must be in harmony), legs shoulder support (vade retro rooster calves) and I want to touch.
Friday, March 2, 2007
Example Of Speech For A New Ceo
Step
Damn, when and where it is the first step?
Well, I do not talk with AIS. The first step was cleaning and setting up my third tank. Finally the third of three tanks that I intend to keep in place the eleven we had at one time. Meanwhile, the number were still decreased. He had risen to eight, then five.
This will definitely be three ... or less, but no more.
I do not count the 50-liter tank, empty but still works constantly, which is only for use in emergencies. This one, he is currently in my hallway, on furniture that I will not keep and it will go in my closet soon.
So the second step was the establishment of the decor, plus the impoundment. It will stay like this for a month, until the water "is done."
Then, the third stage will stand. I have fish that will go inside. They are currently in a (too) small box in the room of my daughter. This is a group of Lamprologus Lamprologus calvus multifasciatus and a black, probably a female. These two kinds of fish are cichlids living in Lake Tanganyika in Africa.
Here is a photo taken today, just after the water (by clicking you will see a bit bigger):
Damn, when and where it is the first step?
Well, I do not talk with AIS. The first step was cleaning and setting up my third tank. Finally the third of three tanks that I intend to keep in place the eleven we had at one time. Meanwhile, the number were still decreased. He had risen to eight, then five.
This will definitely be three ... or less, but no more.
I do not count the 50-liter tank, empty but still works constantly, which is only for use in emergencies. This one, he is currently in my hallway, on furniture that I will not keep and it will go in my closet soon.
So the second step was the establishment of the decor, plus the impoundment. It will stay like this for a month, until the water "is done."
Then, the third stage will stand. I have fish that will go inside. They are currently in a (too) small box in the room of my daughter. This is a group of Lamprologus Lamprologus calvus multifasciatus and a black, probably a female. These two kinds of fish are cichlids living in Lake Tanganyika in Africa.
Here is a photo taken today, just after the water (by clicking you will see a bit bigger):
Subscribe to:
Posts (Atom)