當前位置:首頁 » 編程語言 » sql2008隻讀

sql2008隻讀

發布時間: 2022-06-07 01:00:18

sqlserver2008 Replication 如何不控制訂閱許可權讓訂閱庫只讀不能寫

這個和Replication沒關系,你想只讀不寫,那
你建一
個用戶,只有讀的許可權就行了。以後就用這個賬號訪問資料庫

㈡ sql2008 只讀許可權用戶設置

sql
code禁用sa打開security(安全性)
--
logins(登錄名)
,右鍵選中sa,選擇谷歌properties(屬性),點擊status(狀態)切換到狀態面板,將login(登錄)設置為enabled(禁用)。

㈢ SQL Server只讀/正在恢復問題怎麼解決

5步解決SQL Server只讀/正在恢復問題
1.首先,啟動"任務管理器",殺掉SQL Server進程,或者停掉SQL Server服務。
2.將資料庫文件拷貝一份(保險起見,備份),當然你也可以剪切到指定的文件。
3.將原來的出錯的資料庫文件(只讀/正在恢復)刪除。
4.重新啟動SQL Server服務,打開Express,資料庫會變為【只讀】。
5.刪除掉【只讀】資料庫,重新附加之前備份的資料庫文件。

㈣ SQL怎麼解決只讀文件

rs是以只讀方式打開的嗎?rs.open
sql,conn,1,3
或者SQL的訪問許可權沒設置正確?

㈤ sql server2008怎麼把資料庫變成只讀

設置資料庫訪問許可權就可以了

㈥ sql server 2008附加的資料庫是只讀的,如何更改過來

附加後的資料庫是只讀的,不能插入數據,在狀態中,把』資料庫只讀『改為false報錯

㈦ sql server2008 一直提示游標是只讀的,能不能解釋一下大神們,怎麼操作

你的錯誤太多了,
use student
go
declare @newtable table(stud_id int,stud_name nvarchar(50),id int);
declare @i int, @stud_id int;
insert into @newtable(stud_id,stud_name)
select stud_id,stud_name from stud_info;
declare curl scroll cursor for
select stud_id from @newtable;
open curl;
set @i = 0;
fetch next from curl into @stud_id;
while @@FETCH_STATUS =0
begin
update @newtable set id = @i where stud_id = @stud_id;
set @i = @i + 1;

fetch next from curl into @stud_id;
end
close curl;
deallocate curl;
select * from @newtable;

㈧ 在sql server2008中數據表單元格為只讀,怎麼更改

如何解決,找不到

㈨ sql server 2008 r2主從資料庫同步時,從資料庫顯示只讀,但不能與主資料庫同步

在資料庫裡面新建一個同名資料庫,然後附加到這個新的資料庫里看看

熱點內容
新逍客20發動機壓縮比 發布:2025-02-08 17:58:10 瀏覽:115
qq號和密碼我都知道為什麼登不上 發布:2025-02-08 17:52:21 瀏覽:872
寶塔伺服器ip進不去 發布:2025-02-08 17:52:18 瀏覽:382
擔保中介源碼 發布:2025-02-08 17:14:37 瀏覽:412
手機存儲卡速度測試 發布:2025-02-08 17:02:57 瀏覽:25
洪恩編程 發布:2025-02-08 17:02:19 瀏覽:814
linux遠程式控制制 發布:2025-02-08 17:02:16 瀏覽:153
珠心算演算法 發布:2025-02-08 17:00:37 瀏覽:919
動態ip可以做伺服器么 發布:2025-02-08 17:00:33 瀏覽:220
oracle定義存儲過程 發布:2025-02-08 16:54:35 瀏覽:151