Incident Management And Changemanagement
Dec 26, 2007
Dear All,
what exactly an incident management and change management?
i read these in one company requirements for a senior DBA.
can you provide me a starting point for these....
Vinod
Even you learn 1%, Learn it with 100% confidence.
View 3 Replies
ADVERTISEMENT
Jan 7, 2008
I have a scenario where given an incident, for example a helpdesk request, I need to get the time invloved given the status of the incident as it moves through a queue. Each incident has a unique incidentID and can have any number of status events, each with a statusID (1 to many) For example:
status1(S1) - Incident opened -- the time here is captured as start time
S2 - misc. status - time to capture is time between start time and the new status time i.e., 2 minutes
S3 - misc. status - time to capture is time between start time and S3 i.e., 3 minutes, and the time between S2 and S3 i.e., 1 minute
... can include any status count -->> Sx
... ending with a closing time
I'd like to able to capture any time between any 2 status levels between the start and closing time.
I'm figuring that using cursors would be the best way to go, but realize that there are always better ways to do things. Listed below is the SQL I plan to use. If anyone has a better way to go about accomplishing the desired goal please let me know. The code should be able to run under either SQL Server 2000 or 2005. Thanks in advance.
SAMPLE SQL:
declare @ticketnumber varchar(20)
,@opendate int
,@closedate int
select ticketnumber,min(opendate),max(closedate)
into temp
from mastertable
group by tickernumber
declare MyCursor cursor for
select *
from temp
order by 1
open MyCursor
fetch next from MyCursor into @ticketnumber,@opendate,@closedate
while (@@FETCH_STATUS =0)
begin
select sum(.....)
from mastertable
where ticketnumber = @ticketnumber and ?field? = 'EX'
fetch next from MyCursor into @ticketnumber,@opendate,@closedate
end
close MyCursor
deallocate MyCursor
View 1 Replies
View Related
Jul 12, 2007
Here's the full story...
I'm trying to get some proof of concept reports made for a MOSS / SQL Server 2005 (sp2) Integrated solution. I have a simple report that displays everything in the 'incident' uploaded to the MOSS server, and it works fine.
I've made another report that uses a line chart to plot some averages. This report, called 'Average Control Time by Weekday' works 100% ok in VS2005 preview mode and both reports use the same datasource. The report is uploaded and the dataset is all linked up.
When I view the report (by clicking on it's link on my Sharepoint Site), however, I get an error:
An error has occurred during report processing.
Query execution failed for data set 'DataSource1'.
Invalid object name 'incident'.
I've checked the SQL that was run in the SQL Server Profiler to see what transactions were hitting the database. The query that the report makes when in VS2005 Preview mode is precicely the same as what Sharepoint makes when it tries to render the report.
I made another plain report (just a table view) that uses the same query as the 'Average Control' report and tested it on Sharepoint, and it works perfectly. Any ideas?
p.s. I even asked I-God (http://www.titane.ca/concordia/dfar251/igod/main.html) all he said was that I would need a court order to get rid of the recursion in AIML... and then asked for my credit card number.
View 1 Replies
View Related
Oct 9, 2006
Is it possible to run both Sql Server Management Studio: Express and full blown side by side?
I am developing with the full blown product but would like to test Management Studio Express on the same box.
Is this possible?
Thanks
Eric
View 3 Replies
View Related
Apr 5, 2007
I have recently installed the SQL Server Management Studio Express but I do not find Management Tools in order to create scheduled backups and shrinking of the databases. I was under the impression that this should be included in the Management Studio. I use the SQL 2005 Express for smaller customers who run the SQL on a desktop unit. I need a way to backup the data to a server machine for backup purposes. I have uninstalled and reinstalled to no avail.
View 7 Replies
View Related
Jan 12, 2007
dont know y, but i have prob. installing MS Management studio....After a hard drive failure I was forced to reinstall everything... :( The problem is that after installing vs2005 proffesional edition I installed the sql server 2005 trial edition and everything was fine during the installation.When I looked for the Management studio it wasnt there for me :( I uninstalled and reinstalled trying the full installation but results was the same, no Management studio!!!After uninstalling the SQL server trial edition I installed the Management studio express and it works. except that from some reason I cannot browse my XP user folder which has no password protection.. :( Any idea for installing the SQL trial edition including the Management studio ???Why can't I browse my XP folder with Management studio express ???Where can I download Management studio (non express version)?? regards
View 2 Replies
View Related
Apr 8, 2005
I have to read 25 usernames from a single users row
than display to that user the 25 profiles.
I assume this is possible with a subquery right?
Now do i have to make 25 columns 1 for each username or
could it read user1 user2 user3 ? and how please.. Thanks much
View 6 Replies
View Related
Nov 9, 2005
I have looked everywhere I can think of for the answer to this and am completely confused. My IT dept created an SQL database for me on a server. My plan is to create web pages in asp.net using Visual Web Dev Express released this week. I have connected to the database but I can't figure out how I am supposed to create my tables in the database. What simple/obvious thing am I missing here? I keep trying to download SQL Server Express in hopes that I can use that to manage my database but it keeps telling me that it won't install because I have previous Beta versions left on my machine. I can't find those either so am out of luck. I am new to this so perhaps I am asking all the wrong questions.Does anyone know what I can do to find a useful database management tool that will allow me to add/create the tables?Thanks for any help!
View 2 Replies
View Related
Feb 22, 1999
Apologies if this has been covered elsewhere, but can anyone give me a insight how you manage servers in Enterprise Manager on the MMC effectively?
It seems that there is no refresh facility on the SPID view functions, and it appears impossible to monitor what is actually going on on a real-time basis. SPIDs can appear and disappear, but without refreshing the whole server and drilling down to the right area each time there appears to be no update on the activity on that server.
I have been able to zoom no-existant SPIDs - and SPIDs I have set up running massive queries persisantly show 'sleeping' unless the whole server is refreshed.
I was less than impressed with the 6.5 version for getting important information on what users were up to quickly, but this appears even worse. I wrote a beefed up version of sp_who2 for 6.5, and on Friday started looking at a version for SQL7 - I was that disconsolate!
If there is someone out there who can effectively manage SPID activity on a server using the Enterprise Manage, please tell me how you do it...
View 3 Replies
View Related
Apr 18, 2000
Hello!
My login is dbo for a database located at a remote server(SQL server7.0).Can I run the stored procedures of that database by accessing remotely.Also I have to manage that database from here,what limitations that I will have if I am not an SA for that server?Any help is appreciated.I am operating from NT workstation4.0.
View 1 Replies
View Related
Sep 22, 1998
What exactly `Stress Management` is.
Any tools for assessing Stress Management?
View 2 Replies
View Related
Aug 3, 2001
Can anyone shed more light on the following in SQL 2K
1. Peg lookup tables in memory so that they dont get swapped out
2. Mark tables as readonly (force all queries against it not to issue shared locks)
3. Peg frequently used procedures in memory
A kick in the right direction will be sincerely appreciated
Thanks
Liju
View 2 Replies
View Related
Aug 4, 2001
2 more questions
1. How can I move logins from one machine to another?
2. How can I move DTS packages from one machine to another?
Thanks
Liju
View 1 Replies
View Related
Nov 30, 2007
Hi
I am moving towards managing sqlserver databases and i basically come from a command line background.
Can you please tell me some of the tasks that needs to be done using command line only in sqlserver and wherein management studio falls short.
regards
db2hrishy
View 6 Replies
View Related
Dec 13, 2007
Hi,
I'm new to MS SQL and would like to get your opinion on how it's possible to automatically manage transaction log growth. I've read the following on the topic:
"When Microsoft SQL Server finishes backing up the transaction log, it truncates the inactive portion of the transaction log. This frees up space on the transaction log. SQL Server can reuse this truncated space instead of causing the transaction log to continuously grow and consume more space. The active portion of the transaction log contains transactions that are still running and have not completed yet."
I'm backing up the transaction logs on a daily basis. Still one of the logs grew up to 130Gb even though I have shrunk it in the past. How can I manage the growth automatically without shrinking the log files manually every time they grow beyond a certain threshold?
Thanks in advance,
Alla
View 1 Replies
View Related
Dec 13, 2007
Hi,
I'm new to MS SQL and would like to get your opinion on how it's possible to automatically manage transaction log growth. I've read the following on the topic:
"When Microsoft SQL Server finishes backing up the transaction log, it truncates the inactive portion of the transaction log. This frees up space on the transaction log. SQL Server can reuse this truncated space instead of causing the transaction log to continuously grow and consume more space. The active portion of the transaction log contains transactions that are still running and have not completed yet."
I'm backing up the transaction logs on a daily basis. I believe that all or most of the portions of the log are inactive by the time the backup starts. Still one of the logs grew up to 130Gb even though I have shrunk it in the past. How can I manage the growth automatically without shrinking the log files manually every time they grow beyond a certain threshold? Also, how can I check whether some of the log portions are active or inactive?
Thanks in advance,
Alla
View 1 Replies
View Related
Feb 4, 2004
VS.NET Professional doesn't let you manage/edit database objects in SQL Server 2000 like Enterprise, but it does in MSDE2000.
Is there a tweak that will let me do this?
View 2 Replies
View Related
Apr 25, 2008
I am running management studio from my desktop but I think I need sp2 is there a sp2 download for management studio that isnt management studio express?
View 2 Replies
View Related
Aug 25, 2007
Hi,
I need support for the following problem.
It is a teamwork.Suppose 25 databse developer developing a databse.every one make modification (update,delete,insert)to the centralized database.I want that every one its on database copy and make modification to that instead to centerlized database.As source control softwares do(e.g visual source safe).or any other way to manage database in such senerio.
Hope any one will help.
Thanx in advance.
View 5 Replies
View Related
Sep 24, 2007
I like some of the new features in sql2005 management studio, but WHY do you have to right-click -> Modify to view the stored procedure code?
It is SO annoying, previous versions was a simple and quick-double click.
To me this is a major blunder!
Anyone else agree with me?
View 16 Replies
View Related
Nov 1, 2007
Hello,
I am hoping some of you can direct me to areas I should look into.
First off let me say that everything was fine and worked great up until 3 weeks ago.
Then all of a sudden we began to experience timeouts on a particular query.
The vb.net 2002 code has not changed and is pretty basic stuff to connect to the server and execute the query. The only change I have made to it since then is to add a commandtimeout parameter so it would actually run.
There does not seem to be a specific pattern either to when it runs slow and when it does not.
I can be the only one in the server in the morning (the only one in the office for that matter) and one day the application will execute the query and return data in under 9 seconds and the next day it will be a minute and a half.
I can test it during peak network times and the same thing...one day fine the next day performance is slow.
Also, if I run the query straight from the management studio it will run in 2-9 seconds and from .net it takes 20-90 seconds.
Are there server admin jobs I could run to see if tables are deadlocked, if the network is to busy..anything?
View 4 Replies
View Related
Oct 4, 2005
Let's say I may possibly use two transactions in a script, the secondone will depend on the successful execution of the first one.The following code works. However, I'm wondering if SQL Server 2000has some internal function like @@transaction_status to indicate thestatus of the most recent transaction by the connection. The analogueof @@FETCH_STATUS. Then, my own error tracking code could be omitted.Thanks.-- ENV: SQL Server 2000-- ddlscreate table tblA (col1 smallint, col2 smallint)create table tblB (col1 smallint, col2 smallint)create table tblX (col1 char(1), col2 varchar(20))declare @errorCode tinyIntset @errorCode = 0begin transaction fTraninsert into tblAvalues (7,1);insert into tblBvalues (8,0);-- we know this guy will failinsert into tblXvalues ('ab','abcdefge')If (@@error <> 0)beginselect @errorCode = 1endif (@errorCode = 1)rollback transaction fTranelsecommit transaction fTranif (@errorCode = 0)pseducode: start second transaction here ...elseprint 'fTran failed.';RETURN
View 2 Replies
View Related
Jul 20, 2005
Hi:I have a Point-of-sale application that uses SQL Server2000 for the backend.Basically, the users perform various functions boiling down to login (checkpassword from a table) and data entry (insert a food entry). Previously, Iwould open a new ADO 2.7 connection to the database each time one of thesetypes of database accessing functions needed to be performed - but I noticedthat sometimes the DB would freeze the application for 20 seconds or so - oreven cause a timeout error.To fix this, I open a DB connection when the application first starts,keeping it open for the life of the application - each time a function needsto access the DB, it just uses the applications (global) connection that isconstantly open and connected.This seems to have fixed the problem, however, I am curious, is this an OKway to handle the connections - keeping in mind that there are four separatestations - each running the application - at the same time. Therefore, Ihave 4 constantly open connections at the same time.Thanks and regards,Ryan Kennedy
View 2 Replies
View Related
Oct 31, 2007
I just installed the Developer Edition of SQL Server 2005 on my machine and updated it to all available patches through Microsoft Update. I cannot find the SQL Server Management Studio on my machine? How can I get this? Help mentioned where its exe is located but I cannot find it there either.
View 4 Replies
View Related
Feb 20, 2007
Hello!
What are the differences between "SQL Server 2005 Management Studio" and "SQL Server Management Studio Express"?
I have an installation of SQL Server 2005 Standard Edition and can only find the Management Studio Express!?
How can I install the "not-Express-version" ?
Regards
CSharpNewbie22
View 3 Replies
View Related
Sep 12, 2006
From the outset this database has massive problems
Firstly it is hard to design, change and administer
When will we get a tool to allow us to visually manipulate it
View 4 Replies
View Related
Feb 20, 2007
i have a problem regarding sql management studio....
1. I can't create new server, i'd follow the tutorial in video. but it doesnt work. or may be i must install the IIS?
2. i create a new database named sample (sql management studio) and add some tables and sort of data. how can i deploy this database so that i can bind/connect to my program.
2 question for now.
thx in advance
View 2 Replies
View Related
Nov 15, 2007
We are use Vista X64 and SQL-Server 2005 X64 Developer Edition. We are able to connect to a sql2005 server x32 server using SQL 2005 management studio, 32-bit version. From the x64 box (vista x64 with sql x64), we are able to connect to the SQL 2005 32-bit server version using sqlcmd and telnet. But, we are having issues connecting to the 32-bit version of SQL 2005 using the x64 sql management studio GUI. I look all over the internet and the SQL BOL and I was not able to find any compatibility issues with the SQL Management Studio x64 been documented. I am thinking that the reason for the issue is because the SQL management studio is trying to connect using native x64 client drivers. If that is the case, is there another method of connecting to a x32 SQL server. I see that the only way to approach this issue is to install the 32-bit version of the SQL client tools on the x64 system. Thanks
P.S. all servers are using SQL SP2 ( no Cumulative Update 4)
View 2 Replies
View Related
Oct 26, 2006
hi.. i have like 50 ssis packages,, most of all have the samne conexion to my target server.,, the user an pwd i'm using is the same for all of them... but the pwd has been changed because of security rules,., the result: these packages will no longer execute correctly .. is there anyway i can change this conexion for all the packages without doing it manually? and if so.. how??
thanks!!!!!
View 1 Replies
View Related
Dec 3, 2007
How can I get sql Management Studio (2005) to use Sql Compact 3.5? It's been working fine with 3.1, but now when I upgrade my own code to use 3.5 and create a new DB then management studio says it can't open it as it's the newer version (3.5xxx and it wants 3.0xxxx)
Exact text is:
You are trying to access an older version of a SQL Server Compact Edition database. If this is a SQL Server CE 1.0 or 2.0 database, run upgrade.exe. If this is a SQL Server Compact Edition 3.0 or later database, run Compact / Repair. [ Db version = 3505053,Requested version = 3004180,File name = C:foo.sdf ] (SQL Server Compact Edition ADO.NET Data Provider)
View 10 Replies
View Related
Jun 3, 2005
I just finished installing SQL Server 2005 Developer Beta 2.
View 20 Replies
View Related
Jul 2, 2007
Installed SQL 2005 standard but the management tools did not install. The admin downloaded the SSMSE (Express version) which does not allow us to manage Analysis Services. We've tried un-installing the SSMSE and then tried to install from the Client Components on the installation disc, the Management console and it doesn't install. Any ideas on how to get the full version installed? Re-installing SQL Server 2005 is not an option as it's been configured and data is now residing in databases.
View 3 Replies
View Related
Nov 6, 2007
I am trying to access WMI from a function. I take it that system.management is not available. Do I have any other options?
View 3 Replies
View Related