Viewing 15 posts - 211 through 225 (of 546 total)
When you say other SP's, are these linked through a linled server or do they reside in the SAME Database/Diff Databases..?
you can use GRANT EXECUTE on {SP Name} to {username}
Or...
Maninder
www.dbanation.com
July 22, 2008 at 9:44 am
When you try to connect to a SQL Server using SQL Server Management Studio, you get a connect to server window.
In that window there is another button on the Bottom...
Maninder
www.dbanation.com
July 17, 2008 at 3:12 pm
Does it mean:: you can see the SQL Agent folder but nothing underneath OR You cannot see the SQL Server Agent Folder even.
Maninder
www.dbanation.com
July 17, 2008 at 2:09 pm
In the "connect to Server" Dialog Box Click on Options and choose "Named Pipes" from Network Protocols.. click connect.
This is using Windows Authen.
Try this
Maninder
www.dbanation.com
July 17, 2008 at 2:06 pm
Check your SQL service account running under.
Run it as a network user and not the Local System account.Then it will have access to the network.
see if this is the issue.
Maninder
www.dbanation.com
July 17, 2008 at 1:57 pm
Try this Query..
select hostname,loginame,DB_NAME(dbid),* from sys.sysprocesses
where blocked<>0
and spid >51
order by last_batch desc
Maninder
www.dbanation.com
July 17, 2008 at 1:01 pm
The TRUNCATE command maintains the structure and its columns, constraints, indexes etc. While if there are Foreign Key constraints, use DELETE. This will also help you retain any identity column...
Maninder
www.dbanation.com
July 17, 2008 at 12:44 pm
Lot of info about Query Tunings etc..
Avoid too many joins
Your Query optimization in overall is dependant on your Database design.
Index play a IMP part.
Get Covering indexes, on mostly used columns
Avoid...
Maninder
www.dbanation.com
July 17, 2008 at 11:49 am
1650 records every 2 minutes
with that in mind, it is obvious that you have index fragmentation. and considering your Fillfactor, it is again obvious the page spits are happening Quick....
Maninder
www.dbanation.com
July 16, 2008 at 9:02 am
It goes slike this:
Let the growth stay at 10% for now, when the Database is smaller, and you should try to reduce this when the DB grows bigger.i.e. lets say...
Maninder
www.dbanation.com
July 15, 2008 at 2:48 pm
Question: did yoyu specify the @local = 'local' while using the sp_addserver.
Maninder
www.dbanation.com
July 15, 2008 at 2:45 pm
you can run a profiler and check for hostname,application name etc
Or
select qs.SPID,user_name(qs.spid),qs.BLOCKED,qs.WAITTYPE,qs.DBID,qs.CPU,qs.PHYSICAL_IO,
qs.LOGIN_TIME,
qs.LAST_BATCH,
qs.STATUS,
qs.HOSTNAME,PROGRAM_NAME,
qs.HOSTPROCESS,CMD,
qs.NT_DOMAIN,
qs.NT_USERNAME,
qs.NET_LIBRARY,
qs.LOGINAME,object_name(ec.objectid,qs.dbid) as objectid,ec.text as SQLTEXT
from master.sys.sysprocesses AS qs
CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) ec
Maninder
www.dbanation.com
July 15, 2008 at 2:41 pm
What kind of Data, How many rows do you have.. and how many tables.
Some times it might be easier to Just Migrate the Database rather than the Data itself, and...
Maninder
www.dbanation.com
July 15, 2008 at 7:37 am
Did you cross check, that those are not HEAP Tables.?
There is no Direct way to take care of fragmentation on a HEAP Table.
but before going ahead, make sure they are...
Maninder
www.dbanation.com
July 15, 2008 at 7:32 am
Adding to the above::
1. send out a outage notice. (IMP)
2. restart your SQL service/SSIS/SSAS, to get rid of any erreneous connections.
3. Log onto the remote server as a Administrator.
4. Start...
Maninder
www.dbanation.com
July 15, 2008 at 7:16 am
Viewing 15 posts - 211 through 225 (of 546 total)