科脈御商超市系統(tǒng)V9.0sql server數(shù)據(jù)庫(kù)修復(fù)操作記錄
廣告:
采購(gòu)?fù)素泦?ac_t_supjxc_in ac_t_supjxc_out
補(bǔ)差單 ac_t_supjxc_in (刪除了PRIMARY KEY 約束'PK_AC_T_SUPJXC_IN'
調(diào)價(jià)單:pm_t_flow_detail pm_t_flow_master
門(mén)店對(duì)賬表 pos_t_casher_daysum bi_t_payment_info.pay_way
ac_t_supjxc_in_hist ac_t_supjxc_in pm_t_flow_detail pm_t_flow_master
select top 200 * from ac_t_supjxc_in_hist order by oper_date desc
select top 200 * from pm_t_flow_detail order by oper_date desc
delete from ac_t_supjxc_in where oper_date >'2024-04-14 00:00:00'
delete from where oper_date >'2024-04-14 00:00:00'
select top 200 * from pm_t_flow_detail as a left join pm_t_flow_master as b on a.sheet_no=b.sheet_no where b.oper_date >'2024-04-14 00:00:00'
delete from pm_t_flow_detail as a left join pm_t_flow_master as b on a.sheet_no=b.sheet_no where b.oper_date >'2024-04-14 00:00:00'
delete a from pm_t_flow_detail as a join pm_t_flow_master as b on a.sheet_no=b.sheet_no where b.oper_date >'2024-04-14 00:00:00'
違反了 PRIMARY KEY 約束 'PK_POS_T_INTEGRAL_OPERATING'。不能在對(duì)象 'dbo.pos_t_integral_operating' 中插入重復(fù)鍵。
No changes made to database.
INSERT INTO pos_t_payflow_pre ( flow_id, flow_no, pay_way, sell_way, coin_no, coin_rate, pay_amount ) VALUES ( 1, 2024041500030090070, 'B', 'A', 'RMB', 1.0000, 14.50 )
select top 200 * from pos_t_item_pay_flow order by flow_no desc
delete from pos_t_item_pay_flow where oper_date >'2024-04-14 00:00:00'
門(mén)店對(duì)賬表 pos_t_cashier_dz_list pos_t_casher_daysum bi_t_payment_info.pay_way
pos_t_casher_detail
錯(cuò)誤代碼:4104錯(cuò)誤信息:Select error
無(wú)法綁定由多個(gè)部分組成的標(biāo)識(shí)符"bi_t_payment_info.pay_way".
bi_t_item_rate_change
ic_t_inout_store_detail
bi_t_item_e_b_price
pos_t_salemaster_pre
pos_t_payflow_pre
ic_t_jxc_monthsum_amt
sa_t_alloper_log_bak
pos_t_daysum_pre
pos_t_item_pay_flow
ic_t_flow
ic_t_jxc_daysum_amt
pos_t_saleflow_pre
bi_t_item_i這個(gè)是商品檔案表,bi_t_item_ext這個(gè)是商品擴(kuò)展信息表
錯(cuò)誤號(hào):
錯(cuò)誤信息:
Invalid DataWindow row/colum specified at line 0 in open event of object bi w iten input form.
窗口/菜單:bi_w_item input form
對(duì)象:bi_w_item_input_form
SELECT * FROM sys.procedures WHERE NAME = 'bi_w_item_input_form';
SELECT * FROM INFORMATION_SCHEMA.VIEWS WHERE TABLE_NAME = 'bi_w_item_input_form';
SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'bi_w_item_input_form';
SELECT * FROM sys.objects WHERE type IN ('FN', 'IF', 'TF') AND NAME = 'bi_w_item_input_form';
ALTER TABLE [dbo].[bi_t_item_i] ADD CONSTRAINT [PK_BI_T_ITEM_I] PRIMARY KEY CLUSTERED
(
[item_id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO
PK_BI_T_ITEM_LIFECYCLE_LOG
select [flow_id] from bi_t_item_lifecycle_log group by [flow_id] having COUNT(1)>1
查找重復(fù)記錄,需要去掉主鍵索引。
對(duì)象 'pos_t_saleflow_pda' 的 0 頁(yè)中有 0 行。
修復(fù): 對(duì)象 ID 1940878677,索引 ID 0,分區(qū) ID 72057596452208640,分配單元 ID 72057596455288832 (類(lèi)型為 In-row data)的 IAM 鏈已在頁(yè) (1:3228) 前截?cái)啵瑢⒅匦律稍撴湣?br />消息 2576,級(jí)別 16,狀態(tài) 1,第 2 行
索引分配映射(IAM)頁(yè) (1:3228) (位于對(duì)象 ID 1940878677,索引 ID 0,分區(qū) ID 72057596452208640,分配單元 ID 72057596455288832 (類(lèi)型為 In-row data))的上一個(gè)指針指向了 IAM 頁(yè) (0:0),但掃描過(guò)程中檢測(cè)不到它。
該錯(cuò)誤已修復(fù)。
CHECKDB 在表 '(Object ID 1940878677)' (對(duì)象 ID 1940878677)中發(fā)現(xiàn) 1 個(gè)分配錯(cuò)誤和 0 個(gè)一致性錯(cuò)誤。
CHECKDB 在表 '(Object ID 1940878677)' (對(duì)象 ID 1940878677)中修復(fù)了 1 個(gè)分配錯(cuò)誤和 0 個(gè)一致性錯(cuò)誤。
TradeInfo_BlackEagle的 DBCC 結(jié)果。
對(duì)象 'TradeInfo_BlackEagle' 的 0 頁(yè)中有 0 行。、
廣告: