Viewing 15 posts - 136 through 150 (of 205 total)
James
If unit,project and task is the unic combination per persom
Try
SELECT a.name, a.unit & a.project & a.task AS comb, Sum(a.Hours)/(select sum(hours) from test b where b.name=a.name) * 100 AS percentage
FROM...
December 1, 2008 at 4:04 am
There are at least two more methods.
You have to be more specific with your question.
Gosta
For better, quicker answers, click on the following... http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 21, 2008 at 1:39 am
"VBA is no alternative"
Ok I understand your dilemma. But as VBScript is an integrated part of DTS you can develope
in VBA and migrate to VBScript. I can help you...
November 13, 2008 at 2:02 pm
HI
Hopefully you are aware of the problems with format when you import data from Excel
with DTS or SSIS. I would do the pattern matching in VBA and save the file...
November 11, 2008 at 2:07 am
Shailesh
Google with
mysql sql server convert
I got 301 000 replyes.
I have not done it to SQL Server 2008 but
a long time ago to 2000 and at that time I used DTS.
Gosta:)
November 7, 2008 at 12:42 am
Thank you David J
It seems we are thinking at the same direction.
You can do it in VBA and VB script. In fact some time I development and tests
in VBA (testing...
November 5, 2008 at 12:32 pm
🙂
I agree with Phil Factor. There is not just one method.
But what I miss sometimes is how is the customer of this application and
what are the needs etc.
I...
November 5, 2008 at 7:30 am
Phil
Thank you for pointing at your article. It was new for me.
But still why this labor in T-SQL when you can do all in VBA coding?
Best regards
Gosta
November 5, 2008 at 2:39 am
"Excel is a great tool for formatting data that you've extracted from tables or views. You can copy such data into an Excel spreadsheet straight from SQL Management Studio's output...
November 5, 2008 at 12:54 am
"In the past, I've typically done a "drop table", "create table" to handle things like this. The wizard is designed for the basics. If you need this to work more...
October 31, 2008 at 2:20 am
As I allready have stated I have abandoned Excel native format import because of the
problems.
But I became curios , will it work like described in the article which...
October 27, 2008 at 3:05 pm
This is an interesting discussion. We are not alone with need to import data
from Excel.
At first look at the front Excel. Is the user permitted to key in any...
October 26, 2008 at 11:08 am
"Unfortunately "Microsoft.Jet.OLEDB.4.0" does not exist for IA-64..........unless you have heard otherwise"
If you keep to textfiles you don't need the Jet driver if you use bulk insert instead.//
//Gosta
October 24, 2008 at 8:40 am
"From what I've seen, importing data from excel can be very hazardous etc"
I agree on that.
But I have no experience with Excel2007 yet. Does it work as 2003 in...
October 24, 2008 at 8:31 am
a2zwd
Are you forced to use SSIS?
krayknot has a point. The procedure can be automated.
Maybe I am out on weak ice then I say I don't like SSIS for
tasks involving...
October 21, 2008 at 2:58 am
Viewing 15 posts - 136 through 150 (of 205 total)