Viewing 15 posts - 31 through 45 (of 121 total)
If the servers are linked, and assuming you do not want to restart the replication, then I would recommend using the MERGE command to INSERT, UPDATE and or DELETE based...
January 30, 2013 at 11:29 am
SELECT STUFF(( SELECT ''+A.data FROM (SELECT DISTINCT TOP 100 PERCENT data FROM #temp ORDER BY data) A
FOR XML PATH ('')),1,1,'')
Would that not work? I have found that to be...
January 30, 2013 at 11:21 am
Vedran Kesegic (1/28/2013)
Snapshot might not be good to test even the reads because it...
January 30, 2013 at 10:14 am
mbamutura (1/29/2013)
Dear All,I have tables in my database and need to extract some output.
Any help is welcome as shown in the attachment.
Regards.
Course work? Show some effort and ask...
January 29, 2013 at 11:06 am
Ah, I remember the days of DBCC PINTABLE. Those were the days.
Kids, dont try that at home, it doesnt work anymore.
January 28, 2013 at 9:45 am
1) Do NOT let your C#/VB/ASP/Pascal guys design the database.
2) Do NOT let your DBA's design the database.
3) Hire a Data Architect.
Just saying. The first 2 groups have very...
January 22, 2013 at 10:57 am
ravi@sql (1/14/2013)
I wanted to convert t-sql code to Pl-sql(oracle 11g).
Can any body guide what are the steps to be followed to migrate this code...
January 15, 2013 at 11:51 am
You would be better served with the last line like this:
EXEC sp_executesql @sql
You should have a higher plan reuse rate instead of the standard EXECUTE (@SQL)
January 15, 2013 at 11:45 am
You could take another approach and move the concept of locking or checking out a record and subsequent notifications of said lock to a middle tier, perhaps a WCF service...
December 31, 2012 at 11:17 am
I would use multiple MERGE's (I think it can be done with 3) against the base tables. I never update using views, just a personal opinion. Wrap the...
December 20, 2012 at 10:33 am
The easiest method I have found is this:
I assume I will be getting rid of the original file (if possible)
I create the new files (you do not need to have...
December 17, 2012 at 8:33 am
Could autogrowth be accounting for this? If the files were growing each time, and the growth was wrong, you could incur a ton of IO, and after the purge,...
December 12, 2012 at 2:10 pm
The problem I see, is there is no ROLLBACK should an error exist. Therefore you have uncommitted changes pending, which of course, will cause the GET procedure to deadlock....
December 5, 2012 at 12:59 pm
Minnu,
Please stop posting the same question worded differently multiple times. It wont get an answer any faster.
December 5, 2012 at 6:32 am
Minnu (12/5/2012)
Am using below code to display name and "Date of birth"
but Field DOB is not coming in Date format.
select @FinalString=(SELECT RTRIM(+ISNULL('Name ','')+' : ' +ISNULL(+CAST(NAME AS VARCHAR(100))+'...
December 5, 2012 at 6:29 am
Viewing 15 posts - 31 through 45 (of 121 total)