Hi,
I need know what algorithm to encrypt the password into Security Directory, if anybody know the name.
Thanks
What is the Security directory you mentioned?
Thanks
Laurentiu
sqlHi,
I need know what algorithm to encrypt the password into Security Directory, if anybody know the name.
Thanks
What is the Security directory you mentioned?
Thanks
Laurentiu
sqlOK, so a record could fail validation but won't necassarily cause an error, is that right?
If you can find a way of populating a boolean variable stating whether the validation was successful or not then you could put a conditional precedence constraint beween data-flow1 and data-flow2 to determine whether data-flow2 should execute or not.
-Jamie
|||... and if data-flow2 shouldn't execute then the ForEach will just loop around?
PJ
|||Ok... so have to figure out how to access global variables in a script task....
OR...
...could do a conditional split.. which carries out the validation checking...and has one output connected to an OLE DB Destination to store a valid header record.. the other output directed to a RowCount...
If the row count >0 then we have a validation failure.. so could set the global variable there... is there a way to send a row count to a package variable?
PJ
|||PJFINTRAX wrote:
... and if data-flow2 shouldn't execute then the ForEach will just loop around?
PJ
Absolutely! (Unless you have any other OnSuccess precedence constraints from data-flow1). Once all work is done for that iteration then it'll go onto the next iteration.
|||PJFINTRAX wrote:
a way to send a row count to a package variable?
PJ
Err yeah. That's exactly what it does (and the only thing it does). i.e. Store the rowcount in a variable :)
|||Jamie Thomson wrote:
PJFINTRAX wrote:
a way to send a row count to a package variable?
PJ
Err yeah. That's exactly what it does (and the only thing it does). i.e. Store the rowcount in a variable :)
DOH! Well, we all know I'm only making this up as I go along :^)
Thanks
PJ
|||sigh.. this is like pulling teeth... now another problem has reared its ugly head...
when i use the SQL Task to retrieve the ID of the FileHeader record (that I just inserted) into a package variable... I get a datatype error.. and can't figure out which bloomin data type to use...(for the variable)
In my DB table the ID is a bigint....
what on earth is the equivalent in SSIS datatypes.... I have literally tried em all.. only one that works is Object !!!
So, SQL Task is executing SQL query as follows "select MAX(ID) as ID from fileheader"
Table definition is :
CREATE TABLE [dbo].[FileHeader](
[ID] [bigint] IDENTITY(1,1) NOT NULL,
[Source] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[FileName] [varchar](500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[LoadDate] [datetime] NULL CONSTRAINT [DF_FileHeader_LoadDate] DEFAULT (getdate())
) ON [PRIMARY]
So what should my variable type be if its to hold the result of the query?
PJ....
|||Ahh what they hell.. I'll just use String.. that works....
|||Guys, I have the bigint problem again, can't just use a string this time...Probably cos they don't know. And I'm afraid I include myself in that. I don't have a SSIS instance to hand but as and when I do I'll try and take a look OK.
-Jamie
|||Thanks Jamie,
but I have been through every single datatype .. and if I try to wedge a bigint into anything other than a string I get an error...
I would have thought an INT64 would work.. but no...
the bigint is an identity column in a table in my db... I'm a result set (which includes it) into an object and using that as a recordset using a foreach.. and I need to compare the ID column numerically.. to decide which flow to go down (ie If FiletypeID >12 and FileTypeID > 4 )
i suppose since the presedence contstraint is an expression I could try casting to a int64 maybe...
bit awkward tho.... would have thought this would all be easier... (like most SSIS things, heh)
PJ
Hi,
I have built a cube in which the aggregation storage is about 45
GB, the cube size is 2 GB. When I look into the data folder in the
directory where Analysis Services is installed, I just see the size of
the folder corresponding to the database as 2GB. I am not able to
understand at what location the aggragations are stored, can some one
please help on this.
Also is there a way to change the location of where the cube data is
stored, let's say I want to change the storage location to a different
drive on the server, how can I accomplish that.
Thanks
Aggregation wizard allows you to specify target size of aggregations. That doesnt mean aggregations will take that much space.
In your case looks like they didnt. Or you didnt processed your aggregations after designing them. You can ether fully reprocess your partitions or you can use ProcessIndex to process only aggregations and indexes.
Here is whitepaper talking about processing options http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql90/html/sql2k5_asprocarch.asp
Now, even after you process your aggregations, you are not guaranteed the size of real aggregations will match the estimate you saw in Aggregation Desing Wizard. The wizard only operates with estimates and not the real numbers.
As for the second question. You can change locations for partitions storage using StorageLocation property of the partition. Change it, then reprocess your partition and you see partition data located in the directory specified.
Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Edward,
Thanks for the response.... I now understand that the aggregations that I see in the wizard are essentially estimates however if I process them where are they physically stored, I am just trying to get to the location on the server. Also I am using Analysis Services 2000 are the aggregations stored differently from 2005 , because the article you sent me references 2005.
Thanks
|||Aggregations are stored as part of partition storage. That is true for AS2000 and AS2005.
With AS2000 you dont have option to store partitions outside of the data folder. My previous post referred to AS2000.
Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
SQL,SQL server,tool for MSDE