SharePoint, SQL Server, SAP-BPC and some miscellaneous topics like virtualization.
Tuesday, April 26, 2011
Monday, April 25, 2011
BPC Server Version
BPC 7.5
7.5.102 : SP01
7.5.103 : SP02
7.5.104 : SP03
7.5.105 : SP04
7.5.106 : SP05
BPC 7.0
7.0.114 : SP05
7.0.115 : SP06
7.0.116 : SP07
7.5.102 : SP01
7.5.103 : SP02
7.5.104 : SP03
7.5.105 : SP04
7.5.106 : SP05
BPC 7.0
7.0.114 : SP05
7.0.115 : SP06
7.0.116 : SP07
Monday, April 11, 2011
Clearing All Rows From All Tables
This couple of SQL statements will delete all the rows from all tables.
EXEC sp_MSForEachTable 'ALTER TABLE ? NOCHECK CONSTRAINT ALL'
GO
EXEC sp_MSForEachTable '
IF OBJECTPROPERTY(object_id(''?''), ''TableHasForeignRef'') = 1
DELETE FROM ?
else
TRUNCATE TABLE ?
'
GO
-- enable referential integrity again
EXEC sp_MSForEachTable 'ALTER TABLE ? CHECK CONSTRAINT ALL'
GO
-- This will reseed each table [don't run this exec if you don't want all your seeds to be reset]
EXEC sp_MSForEachTable '
IF OBJECTPROPERTY(object_id(''?''), ''TableHasIdentity'') = 1
DBCC CHECKIDENT (''?'', RESEED, 0)
'
GO
Thanks to Mauro Cardarelli's post
- It disables referential integrity
- DELETES or TRUNCATES each table
- Enables referential integrity
- Reseeds rows with identity
EXEC sp_MSForEachTable 'ALTER TABLE ? NOCHECK CONSTRAINT ALL'
GO
EXEC sp_MSForEachTable '
IF OBJECTPROPERTY(object_id(''?''), ''TableHasForeignRef'') = 1
DELETE FROM ?
else
TRUNCATE TABLE ?
'
GO
-- enable referential integrity again
EXEC sp_MSForEachTable 'ALTER TABLE ? CHECK CONSTRAINT ALL'
GO
-- This will reseed each table [don't run this exec if you don't want all your seeds to be reset]
EXEC sp_MSForEachTable '
IF OBJECTPROPERTY(object_id(''?''), ''TableHasIdentity'') = 1
DBCC CHECKIDENT (''?'', RESEED, 0)
'
GO
Thanks to Mauro Cardarelli's post
BPC Processor Preferences
Based on this SQL Server Central post: a processor with more cores is better for Data Warehouses / Decision Support Systems (smells like OLAP). And at this time an Intel processor is better for a transactional system (OLTP).
Monday, April 4, 2011
Changing R/3 SAP GUI Permissions
Recently I needed to apply an SAP Note to our BPC NW environment. To do this, I had to create a new 'admin' user and run the Notes Assistant under that new account. Before I could run the Notes Assistant, I need to grant access to the snote transaction in SAP GUI. This is how I did it:
- Login with DDIC
- Go to su01
- Specify user ID
- Change
- Go to Profiles tab
- enter SAP_ALL or whatever objects
- Save
- Exit
Subscribe to:
Posts (Atom)