Viewing 15 posts - 316 through 330 (of 389 total)
Si t'as pas envie d'utiliser un Cursor, regarde le SQL en dessous.
Faudrait l'adapter!
1) Faut creer la table Tally (merci Jeff Moden) directement dans la base et pas a chaque fois...
September 10, 2008 at 12:25 am
Pour executer une proc stocké avec la tache 'Execute Sql' tu entre comme SQL exec spMyStoredProcedure. Apres si tu as des parametres, ca change un peu. Mais essaie...
September 10, 2008 at 12:01 am
As-tu esssayé de mettre le sql dans une procedure stockée et ensuite appeler le proc stocké a partir de SSIS?
September 9, 2008 at 6:05 am
jais.ghan,
Thanks but that doesn't work with a numeric or decimal sql datatype.
toolman,
Thanks but I've already tried all of these, and they all have a fixed precision e.g. I can't have...
August 12, 2008 at 9:18 am
The number of digits after the decimal depends on the data itself i.e. is not known in advance.
Thus 1.234560000 -> 1.23456
while 2.340000000 -> 2.34
August 8, 2008 at 3:40 am
Story of my life....
...I've discovered a new feature, just as it's being deprecated!
August 4, 2008 at 6:50 am
The problem is with your CTE syntax when used with INSERT.
Without rewriting your SQL, it should be basically in the following order (pseudo code.)
;WITH MissingDatesCTE (MissingDateField) AS (SELECT......)
INSERT INTO #Missing_Files(MissingDate)
SELECT...
August 1, 2008 at 1:13 am
You're right...my comments are quite severe, and probably over the top. So I apologise if I've offended.
But I do think that in an article the presentation is as important...
July 3, 2008 at 2:19 am
I certainly wouldn't call this an article. I found the "aside" most amusing - and is almost as long as the so called article.
If you are hesitating about...
July 3, 2008 at 1:24 am
Congratulations...both awards are very well deserved!
July 2, 2008 at 3:16 am
You should get a certain amount of compression if you use a typed xml column i.e. define a schema for your xml.
It won't be very compressed, but better than nothing....
June 9, 2008 at 1:12 am
...or in the case statement
CASE WHEN p.Name is null then 'N/A' ELSE p.Name END
(but isnull is better here.)
The issue is that nothing is equal to null i.e. p.Name =...
June 9, 2008 at 1:01 am
Looks like your database server is case sensitive (like mine.)
change SYSNAME to sysname and you should be ok.
Also sp_msforeachdb will have to become sp_MSforeachdb
Regards,
David.
June 3, 2008 at 12:52 am
I include an example script here. This is the change script generated when adding NewField between Field1 and Field2 of MyTable. I hope this makes it clearer.
My question...
May 21, 2008 at 12:36 am
Viewing 15 posts - 316 through 330 (of 389 total)