SCCM Query for any PC with 2 partitions?
I'm trying to find a query that will allow me to tell any computer in our network that has 2 partitions. When we deploy our Win7 through SCCM it has only the 1 partition and doesn't have the 100MB partition that is created if you install via a CD.
Problem is we have some old 7 computers that we need to find to change the way we deploy bitlocker and MBAM through SCCM and if i can find the ones with 2 partitions then I'll have a much easier job. Does anyone know how to do that via SCCM?
Hi, This query will list all computers with a disk 0 parition 1, that should mean they have two partitions. I got some strange result on one of my HP Laptops though which had 4, But you could give it a try.
select SMS_R_System.Name, SMS_G_System_PARTITION.DeviceID from SMS_R_System inner join SMS_G_System_PARTITION on SMS_G_System_PARTITION.ResourceId = SMS_R_System.ResourceId where SMS_G_System_PARTITION.DeviceID = "Disk #0, Partition #1"
Regards,
jörgen
-- My System Center blog ccmexec.com -- Twitter @ccmexec
Similar Messages
-
SCCM query for Windows 8 machines without software installed
Would anyone be able to point me in the direction of an SCCM query for a collection that would list all Windows 8 machines without certain software installed?
ThanksI have this query to for systems without software installed:
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,
SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.
ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System
inner join SMS_G_System_COMPUTER_SYSTEM on
SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId
where SMS_G_System_COMPUTER_SYSTEM.Name not in
(select SMS_G_System_COMPUTER_SYSTEM.Name from SMS_R_System
inner join SMS_G_System_COMPUTER_SYSTEM on
SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId
inner join SMS_G_System_ADD_REMOVE_PROGRAMS on
SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID =
SMS_R_System.ResourceId where SMS_G_System_ADD_REMOVE_PROGRAMS.
DisplayName like "%SOFTWARE%")
The query works, but I would like to modify it so the query only includes certain versions of Windows. Any suggestions would be appreciated
Thanks -
How to create sql query for item master with operator LIKE with variables?
hi all,
How to create sql query for item master with
operator LIKE(Contains,Start With,End With) with variables using query generator in SAP B1 ?
JeyakanthanHi Jeyakanthan,
here is an example (put the like statement into the where field)
SELECT T0.CardCode, T0.CardName FROM OITM T0 WHERE T0.CardName Like '%%test%%'
The %% sign is a wildcard. If you need start with write 'test%%' and otherwise ends with '%%test'. For contains you need '%%test%%'. You also could combinate this statements like 'test%%abc%%'. This means starts with test and contains abc.
Regards Steffen -
PowerShell - to search recycle bin - for any document with title containing "disaster" in it?
Hi there,
I am looking for PowerShell - to search recycle bin - for any document with title containing "disaster" in it?
E.g. it should search for any documents with title "SharePoint Disaster Recover.doc" or whatever title contains this word?
Thank you so much.This should do it:
Get-SPSite http://yourServer/sites/yourSite |
Select -ExpandProperty RecycleBin |
Where { $_.Title -Like "*disaster*" } |
Select DirName, Title
or for all Site Collections in the farm:
Get-SPSite -Limit All |
Select -ExpandProperty RecycleBin |
Where { $_.Title -Like "*disaster*" } |
Select DirName, Title
Mike Smith TechTrainingNotes.blogspot.com
Books:
SharePoint 2007 2010 Customization for the Site Owner,
SharePoint 2010 Security for the Site Owner -
How to query for XML-attribute with XPATH
Hi,
Isn't there somebody, who can tell me how to query an Attribut of an XML-element correctly ?
All my trials lead to empty rows. What's worng in my XPATH-expresion ?
XML-file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<xmlexport>
<itsystem guid="e51b91d1-ab0f-11db-2cd7-001641105333">
<field fieldidentifier="currentVersion" />
<field fieldidentifier="marketdatacosts">0</field>
I can query fine the elements and sub-elements, but not attribute 'guid' of /xmlexport/itsystem. Here some trials, all lead
SELECT t.* FROM CORIA."xmlexport156_TAB", xmltable ('/xmlexport/itsystem ' passing object_value COLUMNS
GUID VARCHAR2(1000) path '[@guid=*]') t
various versions for Xpath:
path '[@guid="*"]'
path '/[@guid=*]'
path '[@guid=*]'
xmltable ('/xmlexport' ...
path '/itsystem/[@guid=*]'
... combinations of part 1 and 2
thanks for any hint, LaoDeYou can either get them directly, or fetch the attribute in your xquery and put them in returning xml fragment, then get them like normal element.
Method #1:
path '@guid'
Method #2:
xmltable(
let $is := /xmlexport/itsystem
return <r><guid>{$is/@guid}</guid></r>
passing object_value
columns guid varchar2(1000) path '/r/guid') -
Query for spatial data with a GeometryCollection fails
There are exact 538 CurvePolygons (only exterior rings at this
sample). All of them are valid geometries and equal in dimension
and so on. Now I connect them to a GeometryCollection and query
for other relating spatial data in some tables. It seems that
the use of around (not exact!) 200 CurvePolygon in one
GeometryCollection works fine but the adding of more
CurvePolygon result in an error with the Spatial Index (I could
add the ORA- error numbers if I have some data in my test tables
again next days).
Is there anybody else having trouble with these mysterious
problem? Maybe there is a border by the number of points in
GeometryCollection?
(More details, programming code could be delivered)
(working with Java 1.3.1, oracle.sdoapi.*, Oracle 8.1.7.)Hi Lutz,
Could you provide more info or samples of what is going wrong?
Also, could you try making sure the geometry you are passing in
as the query window is valid (i.e. instead of passing it in as a
query window, pass it into sdo_geom.validate_geometry).
Thanks,
Dan -
Query for inserting into dynamic partitioned table
i want to insert into a table which is partitioned (partition name will be obtained dynamically) based on some select statement using execute immediate statement can some one help with query
First u create table with partition.when u will insert record it will automatically enter in right partition in dynamically.
and when u will select that record give SELECT query with partition
Ex:
SELECT * FROM table_name PARTITION(partition name); -
For some reason, I am unable to get a query to work for an exe located at a specific file path. I can do a query for the exe itself and get more results than I want, but I need to find it in a specific path.
The path and file name is: c:\Program Files\NBSI\sysdll\sysserv.exe.
Thanks!Hi John,
when i tried to find a file at path like dbo.v_GS_SoftwareFile.FilePath ='c:\windows\'
No result found. -
Query for onhand qunatity with particular date for eam
hi all ,
following query are showing wrong value for on hand quantity with particular date mean work order issue date for quantity .
can u show me where is problem in this query.
SELECT ood.organization_name, wrov.concatenated_segments item_number,
wrov.item_description description, wrov.item_primary_uom_code uom,
-- SUM (on_hand.on_hand) quantity_in_stock,
SUM (on_hand.on_hand) + wrov.quantity_issued quantity_in_stock,
we.wip_entity_name work_order_number,
TRUNC (we.creation_date) work_order_date,
fu.user_name work_order_made_by, wrov.quantity_issued,
trunc(cic.material_cost,2) issue_rate_per_qty,
wrov.quantity_issued * trunc(cic.material_cost,2) quantity_value,
--SUM (on_hand.on_hand) - wrov.quantity_issued balace_qty,
SUM (on_hand.on_hand) balace_qty,
SUM (on_hand.on_hand)
* trunc(cic.material_cost,2) COST,
eam.ATTRIBUTE1 EQUIPEMENT_NO
-- gcc.SEGMENT6 equipement_no
FROM wip_entities we,
wip_requirement_operations_v wrov,
org_organization_definitions ood,
mtl_onhand_total_mwb_v on_hand,
fnd_user fu,
cst_item_costs cic,
eam_work_orders_v eam
-- gl_code_combinations gcc,
-- WIP_TRANSACTION_ACCOUNTS wta ,
-- WIP_TRANSACTIONS wt
WHERE wrov.wip_entity_id = we.wip_entity_id
AND ood.organization_id = wrov.organization_id
AND wrov.inventory_item_id = on_hand.inventory_item_id
AND on_hand.organization_id = ood.organization_id
AND we.created_by = fu.user_id(+)
AND cic.inventory_item_id = wrov.inventory_item_id
AND cic.organization_id = wrov.organization_id
--AND we.wip_entity_name = '179542'
AND wrov.organization_id = nvl(:organization_id,wrov.organization_id)
AND (we.wip_entity_name = :job_order_No OR :job_order_No IS NULL)
and trunc(we.creation_date) between nvl(:from_date ,trunc(we.creation_date)) and nvl(:too_date ,trunc(we.creation_date))
and eam.WIP_ENTITY_NAME=we.wip_entity_name
and eam.WORK_ORDER_STATUS in('Complete','Complete - No Charges' ,'Released')
-- and gcc.CODE_COMBINATION_ID =wta.REFERENCE_ACCOUNT
-- and wta.TRANSACTION_ID =wt.TRANSACTION_ID
-- and we.wip_entity_id =wta.WIP_ENTITY_ID
GROUP BY ood.organization_name,
wrov.concatenated_segments,
wrov.item_description,
wrov.item_primary_uom_code,
we.wip_entity_name,
we.creation_date,
fu.user_name,
wrov.quantity_issued,
cic.material_cost,
eam.ATTRIBUTE1
-- gcc.SEGMENT6
order by we.wip_entity_nameI don't think there is any special predicate to do that, Code is simply getting all children of given asset and returning them (Offcource there is some ordering logic). If You want exact informaiton I would suggest to use json call that DAM is making i.e.
HOST:POST/<PATH OF DAM>.assets.json
Or decompile AssetListServlet.java ans see how it is implemeted
Yogesh
www.wemblog.com -
Query For Retrieving Data With Date and grouping
Hi Guys
I am having a hard time to figure out the sql query.
I have a table with data. Below is the illustration.
date location item description
1 jan 14 A apple desc1
2 jan 14 A apple desc2
3 jan 14 B apple desc1
4 jan 14 B apple desc2
1 jan 14 A orange desc1
2 jan 14 A orange desc2
3 jan 14 B orange desc1
4 jan 14 B orange desc2
My question it how to get the latest date on each location and item along with the description field
This is the result I want
date location item description
2 jan 14 A apple desc2
4 jan 14 B apple desc2
2 jan 14 A orange desc2
4 jan 14 B orange desc2
Thanks.provided it a datetime/date field you've for date you can do this
SELECT [date],location,itemdescription
FROM
SELECT [date],location,itemdescription,
ROW_NUMBER() OVER (PARTITION BY location ORDER BY [date] DESC) AS Rn
FROM table
)t
WHERE Rn = 1
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
SCCM Query for summary of installed software in a specific collection
Hi,
I have a SCCM 2012 SP1 environment, I am given a task to collect Summary of installed software in a specific collection. There is a built in report under Reports > Asset Intelligence > Software 01A - Summary of installed software in a specific collection.
But this report is throwing an XML error. I need the query to collect the installed software in a specific collection .Can anyone tell me what the query is ?
Also using the report builder is there a way to mirror the built in report so that I can generate the same report as Software 1A - Summary of installed software in a specific collection.
Regards, h9ck3r.Hi
In order to create a "copy" of the Summary of installed software in a specific Collection you would have to do the following:
Browse to http://ServerName/Reports/ - where ServerName is the name of the server where you installed SQL Reporting Services
Click the ConfigMgr_SiteCode folder
Select New Folder and in the New Folder window type the of name of the new folder i.e Custom Report (or whatever you like), then click
OK
Click the Asset Intelligence folder
Find the Software 01A - Summary of installed software in a specific Collection report
and click the drop-Down arrow next to the report and select Edit in Report Builder. Wait for Report Builder to open the report
In Report Builder, click the System Center Orb
(top left corner) and select Save As
In the Save As Report dialog box, change the name of the report to something else and browse to the folder you created earlier and then click
Save
In order to get data into the Software 01A - Summary of installed software in a specific Collection report, you must have
SMS_InstalledSoftware class enabled in Asset Intelligence. You write that you get a XML error when running the report. Verify that the required class is enabled in
Asset Intellingence and whether you are able to run any of the other Asset Intelligence reports or any´reports as all for that matter. -
Hi,
I'm trying to execute some SQL queries and I just don't understand what's wrong.
I�m using Tomcat and SQL Server in order to do this, but when I�m try to execute a query with a INNER JOIN statements Tomcat raise a SQL exception... at the very first time I thought there was a problem with database connection but I realize that a simple query to a table works pretty well. then I found out some problems with JDBC:ODBC.... so I install JDBC for SQL Server 2000 and test with the same simple query and works..... so, I come to a conclusion.... INNER JOIN or JOIN statements can't be used in JDBC..... please... somebody tell I�m wrong and give me a hand...
I'm using TOMCAT 4 and JDK 1.4 SQL Server 2000
Error occurs when executeQuery() is called.... not prepareStatement().... ??????
Driver DriverRecResult = (Driver)Class.forName(driver).newInstance();
Connection ConnRecResult = DriverManager.getConnection(DSN,user,password);
PreparedStatement StatementRecResult = ConnRecResult.prepareStatement(query);
ResultSet RecResult = StatementRecResult.executeQuery(); <---- Exception raise here
So much tahnks in advance,That's exactly what I think, driver it's raising the exception, but I don't know why.... i test the same query with INNER JOIN directly from SQL Query Analyser and it's works perfectly, my problem ain't SQL, but JSP and JDBC 'cause i'm a newbie about these issues.
Common sense tell me possible problems lie in SQLServer drivers 'cause i run the same pages on JRUN through jdbc:odbc and do works well, but by now i just depend on Tomcat.....
I've installed SQL Server drivers for JDBC but i just find it doesn't work fully... could be the version of JDK i've installed? what version do i need?
( I'm running Tomcat 4 with JDK 1.4 & SQL Server 2000 W2K )
thanks for reply. -
Query For Retrieving Data With Date
Hi Guys
I am having a hard time to figure out the sql query.
I have a table with data. Below is the illustration.
date location
item
1 jan 14 A
apple
2 jan 14 A
apple
3 jan 14 B
apple
4 jan 14 B
apple
1 jan 14 A
orange
2 jan 14 A
orange
3 jan 14 B
orange
4 jan 14 B
orange
My question it how to get the latest date on each location and item
This is the result I want
date location
item
2 jan 14 A
apple
4 jan 14 B
apple
2 jan 14 A
orange
4 jan 14 B
orange
Thanks.Try the below:
create table #temp (sdate datetime,location char(1),Item varchar(20))
insert into #temp values('1 jan 14','A','Apple')
insert into #temp values('2 jan 14','A','Apple')
insert into #temp values('3 jan 14','B','Apple')
insert into #temp values('4 jan 14','B','Apple')
insert into #temp values('1 jan 14','A','Orange')
insert into #temp values('2 jan 14','A','Orange')
insert into #temp values('3 jan 14','B','Orange')
insert into #temp values('4 jan 14','B','Orange')
;With cte as
Select * , Row_Number()Over(partition by location, item order by sdate desc) Rn
From #Temp
Select * From cte Where rn=1 Order by Item asc,location asc
drop table #temp -
Hi we know that with the User Driven Installation from SCCM, a user can install an Operating system into the WTG.
Do we have a query which can help us in identifying the WTG in the environment.
suryaWe can create the DCM Baseline in SCCM 2007 to find the same.
-
Script will create database, 3 database objects and publish.
The error is due to the generation script to create the conflict tables that is not stripping out default constraints that reference a UDF.
As you can see below, the failure is on the generation script for the conflict table.
The conflict table should be a bucket table that shouldn’t enforce data integrity.
See how the default constraints for the columns someint and somestring were stripped out of the generation logic however the default constraint that utilizes a UDF persist and uses the same object name that was used on the production table (The
bold line) , this occurs if I explicitly name the constraint or let the system generate the name for me like in the example posted.
The only way I could see getting around this right now is to drop all default constraints in the system that uses a UDF, publish then add the constraints back which is vulnerable to invalid data and a lot of moving
steps. This all worked with SQL 2000, 2005, 2008, 2008r2, it’s stopped working in SQL 2012 and continues to not work in SQL 2014.
Error messages:
Message: There is already an object named 'DF__repTable__id__117F9D94' in the database.
Could not create constraint. See previous errors.
Command Text: CREATE TABLE [dbo].[MSmerge_conflict_MergeRepFailurePublication_repTable](
[id] [varchar](8) NULL CONSTRAINT [DF__repTable__id__117F9D94] DEFAULT ([dbo].[repUDF]()),
[somedata] [varchar](64) NULL,
[rowguid] [uniqueidentifier] ROWGUIDCOL NULL,
[someint] [int] NULL,
[somestring] [varchar](64) NULL
Parameters:
Stack: at Microsoft.SqlServer.Replication.AgentCore.ReMapSqlException(SqlException e, SqlCommand command)
at Microsoft.SqlServer.Replication.AgentCore.AgentExecuteNonQuery(SqlCommand command, Int32 queryTimeout)
at Microsoft.SqlServer.Replication.AgentCore.ExecuteDiscardResults(CommandSetupDelegate commandSetupDelegate, Int32 queryTimeout)
at Microsoft.SqlServer.Replication.Snapshot.YukonMergeConflictTableScriptingManager.ApplyBaseConflictTableScriptToPublisherIfNeeded(String strConflictScriptPath)
at Microsoft.SqlServer.Replication.Snapshot.BaseMergeConflictTableScriptingManager.DoConflictTableScriptingTransaction(SqlConnection connection)
at Microsoft.SqlServer.Replication.RetryableSqlServerTransactionManager.ExecuteTransaction(Boolean bLeaveTransactionOpen)
at Microsoft.SqlServer.Replication.Snapshot.BaseMergeConflictTableScriptingManager.DoConflictTableScripting()
at Microsoft.SqlServer.Replication.Snapshot.MergeSmoScriptingManager.GenerateTableArticleCftScript(Scripter scripter, BaseArticleWrapper articleWrapper, Table smoTable)
at Microsoft.SqlServer.Replication.Snapshot.MergeSmoScriptingManager.GenerateTableArticleScripts(ArticleScriptingBundle articleScriptingBundle)
at Microsoft.SqlServer.Replication.Snapshot.MergeSmoScriptingManager.GenerateArticleScripts(ArticleScriptingBundle articleScriptingBundle)
at Microsoft.SqlServer.Replication.Snapshot.SmoScriptingManager.GenerateObjectScripts(ArticleScriptingBundle articleScriptingBundle)
at Microsoft.SqlServer.Replication.Snapshot.SmoScriptingManager.DoScripting()
at Microsoft.SqlServer.Replication.Snapshot.SqlServerSnapshotProvider.DoScripting()
at Microsoft.SqlServer.Replication.Snapshot.MergeSnapshotProvider.DoScripting()
at Microsoft.SqlServer.Replication.Snapshot.SqlServerSnapshotProvider.GenerateSnapshot()
at Microsoft.SqlServer.Replication.SnapshotGenerationAgent.InternalRun()
at Microsoft.SqlServer.Replication.AgentCore.Run() (Source: MSSQLServer, Error number: 2714)
Get help: http://help/2714
Server COL-PCANINOW540\SQL2012, Level 16, State 0, Procedure , Line 1
Could not create constraint. See previous errors. (Source: MSSQLServer, Error number: 1750)
Get help: http://help/1750
Server COL-PCANINOW540\SQL2012, Level 16, State 0, Procedure , Line 1
Could not create constraint. See previous errors. (Source: MSSQLServer, Error number: 1750)
Get help: http://help/1750
Pauly C
USE [master]
GO
CREATE DATABASE [MergeRepFailure]
ALTER DATABASE [MergeRepFailure] SET COMPATIBILITY_LEVEL = 110
GO
USE [MergeRepFailure]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
create view
[dbo].[repView] as select right(newid(),8) as id
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE FUNCTION [dbo].[repUDF]()
RETURNS varchar(8)
BEGIN
declare @val varchar(8)
select top 1 @val = id from [repView]
return @val
END
GO
create table repTable
id varchar(8) default([dbo].[repUDF]()),
somedata varchar(64) null,
rowguid uniqueidentifier ROWGUIDCOL default(newid()),
someint int default(1),
somestring varchar(64) default('somestringvalue')
GO
insert into reptable (somedata) values ('whatever1')
insert into reptable (somedata) values ('whatever2')
go
/*test to make sure function is working*/
select * from reptable
GO
/*Publish database*/
use [MergeRepFailure]
exec sp_replicationdboption @dbname = N'MergeRepFailure', @optname = N'merge publish', @value = N'true'
GO
declare @Descrip nvarchar(128)
select @Descrip = 'Merge publication of database ''MergeRepFailure'' from Publisher ''' + @@servername +'''.'
print @Descrip
-- Adding the merge publication
use [MergeRepFailure]
exec sp_addmergepublication @publication = N'MergeRepFailurePublication', @description = N'@Descrip',
@sync_mode = N'native', @retention = 14, @allow_push = N'true', @allow_pull = N'true', @allow_anonymous = N'true',
@enabled_for_internet = N'false', @snapshot_in_defaultfolder = N'true', @compress_snapshot = N'false', @ftp_port = 21,
@ftp_subdirectory = N'ftp', @ftp_login = N'anonymous', @allow_subscription_copy = N'false', @add_to_active_directory = N'false',
@dynamic_filters = N'false', @conflict_retention = 14, @keep_partition_changes = N'false', @allow_synctoalternate = N'false',
@max_concurrent_merge = 0, @max_concurrent_dynamic_snapshots = 0, @use_partition_groups = null, @publication_compatibility_level = N'100RTM',
@replicate_ddl = 1, @allow_subscriber_initiated_snapshot = N'false', @allow_web_synchronization = N'false', @allow_partition_realignment = N'true',
@retention_period_unit = N'days', @conflict_logging = N'both', @automatic_reinitialization_policy = 0
GO
exec sp_addpublication_snapshot @publication = N'MergeRepFailurePublication', @frequency_type = 4, @frequency_interval = 14, @frequency_relative_interval = 1,
@frequency_recurrence_factor = 0, @frequency_subday = 1, @frequency_subday_interval = 5, @active_start_time_of_day = 500, @active_end_time_of_day = 235959,
@active_start_date = 0, @active_end_date = 0, @job_login = null, @job_password = null, @publisher_security_mode = 1
use [MergeRepFailure]
exec sp_addmergearticle @publication = N'MergeRepFailurePublication', @article = N'repTable', @source_owner = N'dbo', @source_object = N'repTable', @type = N'table',
@description = null, @creation_script = null, @pre_creation_cmd = N'drop', @schema_option = 0x000000010C034FD1, @identityrangemanagementoption = N'manual',
@destination_owner = N'dbo', @force_reinit_subscription = 1, @column_tracking = N'false', @subset_filterclause = null, @vertical_partition = N'false',
@verify_resolver_signature = 1, @allow_interactive_resolver = N'false', @fast_multicol_updateproc = N'true', @check_permissions = 0, @subscriber_upload_options = 0,
@delete_tracking = N'true', @compensate_for_errors = N'false', @stream_blob_columns = N'false', @partition_options = 0
GO
use [MergeRepFailure]
exec sp_addmergearticle @publication = N'MergeRepFailurePublication', @article = N'repView', @source_owner = N'dbo', @source_object = N'repView',
@type = N'view schema only', @description = null, @creation_script = null, @pre_creation_cmd = N'drop', @schema_option = 0x0000000008000001,
@destination_owner = N'dbo', @destination_object = N'repView', @force_reinit_subscription = 1
GO
use [MergeRepFailure]
exec sp_addmergearticle @publication = N'MergeRepFailurePublication', @article = N'repUDF', @source_owner = N'dbo', @source_object = N'repUDF',
@type = N'func schema only', @description = null, @creation_script = null, @pre_creation_cmd = N'drop', @schema_option = 0x0000000008000001,
@destination_owner = N'dbo', @destination_object = N'repUDF', @force_reinit_subscription = 1
GOMore information, after running a profile trace the following 2 statements, the column with the default on a UDF returns a row while the other default does not. This might be the cause of this bug. Is the same logic to generate the object on
the subscriber used to generate the conflict table?
exec sp_executesql N'
select so.name, schema_name(so.schema_id)
from sys.sql_dependencies d
inner join sys.objects so
on d.referenced_major_id = so.object_id
where so.type in (''FN'', ''FS'', ''FT'', ''TF'', ''IF'')
and d.class in (0,1)
and d.referenced_major_id <> object_id(@base_table, ''U'')
and d.object_id = object_id(@constraint, ''D'')',N'@base_table nvarchar(517),@constraint nvarchar(517)',@base_table=N'[dbo].[repTable]',@constraint=N'[dbo].[DF__repTable__id__117F9D94]'
exec sp_executesql N'
select so.name, schema_name(so.schema_id)
from sys.sql_dependencies d
inner join sys.objects so
on d.referenced_major_id = so.object_id
where so.type in (''FN'', ''FS'', ''FT'', ''TF'', ''IF'')
and d.class in (0,1)
and d.referenced_major_id <> object_id(@base_table, ''U'')
and d.object_id = object_id(@constraint, ''D'')',N'@base_table nvarchar(517),@constraint nvarchar(517)',@base_table=N'[dbo].[repTable]',@constraint=N'[dbo].[DF__repTable__somein__1367E606]'
Pauly C
Maybe you are looking for
-
Follow Up Document - Items are not selectable (BUS2000117)
Hi CRM Experts, we have created a service Order (BUS2000116) and afterwards we want to create a Service Notification (BUS2000117). When pressing the button 'Follow-Up' a Pop-Up is opening where we normally should have the option to select the items w
-
Printer says it needs to connect to update HP instant ink status
My HP 8610 just started complaining that it needs to connect to update HP instant ink status. When I try to have it connect, it says there is no internet connection. However, I have solid connection light, I can get the network info from the printer
-
OS X Lion 10.8.4 - Admin Password
Hi, After the last OS X 10.8.4 update (maybe this is only a coincidence), i cannot log / use my account (admin). I've tried many times with all varitions possible, and in all cases it's wrong... what can i do to resolve this? thanxs in advance for al
-
hi all, during excise capturing.excise shown is zero(aed and bed shown zero). tax procedure TAXINJ. REGARDS SUMIT BISLA
-
How to identify HR administrator in a workflow
Dear Team, How can we identify HR administrator for an employee.? I need to develop a workflow in which when a employee requests the workitem has to go to HR administrator. I was not able to get any clue from TS12300104 or Rule 60100010. Can any one