Viewing 15 posts - 1 through 15 (of 51 total)
It happens sometimes and its indeed great for apology.
Simple example..
SELECT SCHEMA_NAME(schema_id) ,
name ,
ROW_NUMBER()...
December 6, 2013 at 3:03 am
Thank u all, I appreciate every one here for the solution.
Finally, i found my own one.
September 25, 2013 at 10:13 pm
Oh yes, Take a variable and compare it with your condition. U can also make it to your parameter so u can pass while executing SP.
July 18, 2013 at 10:10 pm
U can create staging database with latest backup made it to appropriate and using switch database, u can switch to your original database. If your dayabase has large size and...
June 24, 2013 at 5:01 am
If you enalbe xp_cmdshell option in configuration, it does not give effect immediately for current session. U have to use Reconfigure command to give immediate effect.
June 24, 2013 at 4:51 am
I insist to ignore top clause as there are around 60 million records. when u perform top it default sorts data. I insist use between clause that on your identity...
June 24, 2013 at 4:46 am
Take latest backup at appropriate location and restore it.
Either Create new blank database and restore on it.
June 24, 2013 at 4:43 am
Jeff sounds interesting, u should do instead.
June 22, 2013 at 3:54 am
The alternate is u should keep two columns, u have to tell developers to use FutureDate column while for other database, it should CurrentDate.
The second option is u should create...
June 22, 2013 at 3:40 am
Create table #temp
(
ID int identity(1,1),
ActivityName varchar(max),
ActivityDate DATETIME2 ,
LoginActivity int
)
Insert into #temp
Values
('Successfully Login into ABC','2013-05-20 13:22:21',1),
('Logout Successfully from ABC','2013-05-21 18:20:07',2),
('Successfully Login into SAMl Application','2013-05-21 15:28:08',1),
('Logout Successfully from SAMl Application','2013-05-21 15:28:08',2)
Create table...
May 27, 2013 at 7:01 am
If u'r facing problem with insertion see below demo.
DROP TABLE #temp
Create table #temp
(
ID int identity(1,1),
ActivityName varchar(max),
ApplicationName varchar(100),
ActivityDate datetime2
)
Insert into #temp
Values
('Successfully Login into Dynamic Portal Application','Login',CAST('2013-05-20 13:22:21.000' AS DATETIME2))
May 27, 2013 at 6:13 am
It is not clearly understandable what u need.
Please brief of what u need and what problem u'r facing right now.
May 27, 2013 at 6:12 am
U CAN VALIDATE BY JOINING SAME TABLE FOR ALL REFERENCES.
EG. SELECT C.INTERMEDIARYNAME,C.INTERMEDIARYID, P.INTERMEDIARYNAME
FROM TABLE1 C LEFT JOIN TABLE1 P WHERE C.INTERMEDIARYPK = P.PARENTINTERMEDIARYID
WHERE C IS CHILD TABLE AND P IS...
May 27, 2013 at 2:05 am
Viewing 15 posts - 1 through 15 (of 51 total)