Viewing 15 posts - 181 through 195 (of 644 total)
The two links given above by Gail are exactly what you need at this point of time. Go through those links, they will help you to get the queries that...
August 28, 2012 at 6:19 am
greeshma.patla (8/28/2012)
I Dont have .mdf and .ldf files tooo 🙁
I have only Transaction Log file and Data File
Is it possible to restore db ?
Please help...
August 28, 2012 at 5:47 am
Very nicely written. Thanks for sharing 🙂
August 28, 2012 at 5:31 am
santhosh411 (8/27/2012)
for the permission i have logged through service domain account and i have tried but no luck same error is coming
Make sure that sharing permissions have been set correctly...
August 27, 2012 at 9:28 am
Just remember that shrinking will cause the indexes to be fragmented. Therefore rebuilding the indexes will be required after shrinking has been done.
August 27, 2012 at 8:44 am
santhosh411 (8/27/2012)
When i selected the path the error i am getting is "can not verify the existence of the backup location do...
August 27, 2012 at 7:29 am
runal_jagtap (8/27/2012)
Will try out the steps but what should i be ready with apart from the steps???
I have got system with Enterprise edition & two servers...
August 27, 2012 at 7:25 am
runal_jagtap (8/27/2012)
an any one help me as to how should i...
August 27, 2012 at 6:47 am
Sachin Butala-182900 (8/27/2012)
If we keep SQL 2005 as primary and 2008 as secondry :-
The databases don't get upgraded along the way. The upgrade doesn't occur until the database is recovered....
August 27, 2012 at 6:27 am
Nice question! thanks.
sam.dahl (8/26/2012)
August 27, 2012 at 4:05 am
You can do it using CTE also.
--========= Student table
IF OBJECT_ID('tempdb..#Student') IS NOT NULL
BEGIN
DROP TABLE #Student
END
GO
CREATE TABLE #Student
(
StudID VARCHAR(100),
RollNo VARCHAR(100)
)
GO
INSERT INTO #Student VALUES('Alpha', 'D1234')
INSERT INTO #Student VALUES('beta', 'A1122')
INSERT INTO #Student VALUES('charlie',...
August 24, 2012 at 7:47 am
You can do this using the PIVOT table feature of SQL Server. Read more here.
For your problem:
IF OBJECT_ID ('tempdb..#CrimeDetails') IS NOT NULL
BEGIN
DROP TABLE #CrimeDetails
END
GO
CREATE TABLE #CrimeDetails
(
ID INT,
Category VARCHAR(100),
CrimeDate DATETIME
)
GO
INSERT INTO...
August 24, 2012 at 6:06 am
Thanks for the nice, easy question to start the friday :-)!!
August 24, 2012 at 3:17 am
Viewing 15 posts - 181 through 195 (of 644 total)