Viewing 15 posts - 196 through 210 (of 224 total)
Very limited information for any one to answer.
Please submit your DBCC checkdb output and the complete error log of the backup.
November 22, 2011 at 10:16 pm
What ever is deleted will be show as the output.
After the delete statement.
Please use
select * from @t
Just to see what are the records that are deleted. The...
September 28, 2011 at 4:41 am
This sql statment deletes X records and those records deleted were show in the result window. Other than that this is a pretty straight forward self join delete statement.
select...
September 28, 2011 at 4:35 am
The code seems to be good. This will insert all the serials which are not in target database.
Unless if your serial column is not the primary key in both...
September 28, 2011 at 3:21 am
Looks like home work question.
select 'Alter table ' + s.name + '.' + T.name +' Add Name varchar(5)' from sys.tables T Inner join sys.schemas S...
September 22, 2011 at 3:25 am
This is a very open ended question.
You need to identity the pattern of the blocking.
Meaning the timing, process, db design, memory etc etc. To start with use service...
September 22, 2011 at 2:03 am
Missed printing the number of items for pens and pencils.
Updated one.
Create table #PenPencil (Pen int, Pencil int)
go
Insert into #PenPencil
select 4,2
union
select 5,6
union
select 1,0
union
select 0,3
select
Case...
September 22, 2011 at 1:52 am
Home work question
🙂
Create table #PenPencil (Pen int, Pencil int)
go
Insert into #PenPencil
select 4,2
union
select 5,6
union
select 1,0
union
select 0,3
select
Case when Pen > 0 then 'Pens'
When Pen...
September 22, 2011 at 1:24 am
Thank you everyone for the suggestion, is there any method from SQLserver to extract the file steam object. Since this a production environment, executing the codes may be bit challenging....
September 11, 2011 at 11:31 pm
Purging helps you to reclaim free space in the database. If you are expecting the free space in the OS level you need to do db shrinking. And DB shrinking...
September 9, 2011 at 1:03 am
The other approach will be change the default database name from Master to the database name that you use for the login.
EXEC sp_defaultdb 'Victoria', 'AdventureWorks2008R2'
This makes when ever the...
September 6, 2011 at 2:31 am
Please go through this article this is good.
http://blogs.msdn.com/b/john_daskalakis/archive/2009/04/22/9562252.aspx
September 6, 2011 at 1:10 am
Please identity the area where it can slow down
1) How long does the complex select takes to produce the result.
2) check the tables involved in the complex select.
3)...
September 5, 2011 at 10:04 pm
It is very simple, go to SMS press F2 to rename and change to your desired name.
Sorry my bad i did not go through the full question.
August 31, 2011 at 1:09 am
Viewing 15 posts - 196 through 210 (of 224 total)