Viewing 15 posts - 436 through 450 (of 1,170 total)
You can use the user(s) you've put into the Server administrators for SSAS - right click on the instance in the Security tab.
Igor Micev
November 2, 2014 at 1:49 pm
How do you want the users use your Cube?
Application, t-sql, MDX, excel, other ?
Igor Micev
November 1, 2014 at 5:55 pm
When you execute it from ssms it gives you the account under which the sql service is running.
SELECT SUSER_SNAME() run from ssms should give you the same result as from...
Igor Micev
November 1, 2014 at 5:45 pm
Shortly:
-View is just a sql statement.
-Indexed views have advantages and disadvantages.
-If the sql statement that you'll put in the view's definition does join multiple tables and includes aggregate function(s) than...
Igor Micev
November 1, 2014 at 5:25 pm
DECLARE @dyn_sql NVARCHAR(max)
DECLARE @table_name NVARCHAR(100)
SET @table_name='MyTable'
SET @dyn_sql='CREATE TABLE '+@table_name+'('+CHAR(10)
DECLARE @i INT=0
WHILE (@i<300)
BEGIN
SET @i+=1
IF (@i<300)
SET @dyn_sql +='Column'+CONVERT(NVARCHAR(3),@i)+' varchar(255),'+CHAR(10)
ELSE
SET @dyn_sql +='Column'+CONVERT(NVARCHAR(3),@i)+' varchar(255)'+CHAR(10)
END
SET @dyn_sql+=')'
PRINT CAST(@dyn_sql AS NTEXT)
Igor Micev
November 1, 2014 at 5:15 pm
robolance (10/31/2014)
Without the get days it took 35 seconds.
With Igor's version it took 39 seconds.
With my version...
Igor Micev
November 1, 2014 at 11:08 am
robolance (10/29/2014)
AS
BEGIN
return DATEDIFF(d, DATEADD(month, DATEDIFF(month, 0, @mydate) , 0) ,DATEADD(d, -1, DATEADD(m, 1, DATEADD(month, DATEDIFF(month, 0, @mydate) , 0)))) +...
Igor Micev
October 30, 2014 at 3:27 am
Are you rebuilding with sort_in_tempdb=ON, and then make comparison with the Reorganizing (reorganizing is done in the database)?
Nope. I what cases is it recommended?
It's good when you're doing it...
Igor Micev
October 20, 2014 at 1:40 pm
GilaMonster (10/20/2014)
Igor Micev
October 20, 2014 at 6:22 am
I'm interested in your case.
I'll need to implement only Reorganize with update stats of indexes because of a Standard edition.
Are your tables very big and having high fragmentation? Are...
Igor Micev
October 19, 2014 at 9:24 am
First thing, go to sql server configuration manager and check the protocols, check the services states. After changes restart the services.
Second thing could be the Firewall, but since you've installed...
Igor Micev
October 18, 2014 at 3:17 am
High CPU over 95% on long time periods holds the possibility to go to 100% at times and then is the good probability for deadlocking.
I've read in a performance poster...
Igor Micev
October 17, 2014 at 11:08 am
mrdenny (10/17/2014)
With standard edition you are capped at 16 cores. It won't use any more than that.
Thanks, this is going to be considered.
It's the same for BI edition....
Igor Micev
October 17, 2014 at 9:16 am
Phil Parkin (10/17/2014)
May I ask why you are using a cursor for this?
My question too. The solution can be easily replaced with set-based. Then everything is easier.
Igor Micev
October 17, 2014 at 7:02 am
Viewing 15 posts - 436 through 450 (of 1,170 total)