Viewing 15 posts - 61 through 75 (of 404 total)
Jeff Moden (9/21/2016)
September 22, 2016 at 3:41 am
😎
Multiple joins need not mean you have a bad performance. I tried with some test data with some sample by executing
INSERT INTO dbo.[DataTEST]
Select data from
dbo.[DataTEST] where ID >9...
September 21, 2016 at 10:00 am
Restore filelistonly from disk='Backup path here'
The above will give you the size of files going to be restored in bytes.
As John mentioned there is no way you can restore without...
September 21, 2016 at 9:46 am
Eirikur Eiriksson (9/21/2016)
Careful there, this is very inefficient and the plan has multiple table scans, (num columns + 1) or in your query total of 9 scans.
😎
This can be made...
September 21, 2016 at 8:04 am
onja (9/21/2016)
I'm about to execute DBCC TRACEON (4199) and sp_configure on a specific database but I'm not sure whether it will affect all other databases in a server even though...
September 21, 2016 at 5:05 am
A quick and simple solution with good old joins.
Select
CustomeridID.Data as CustomeridID ,
AccountID.Data as AccountID,
EnquiryName.Data as EnquiryName,
Source.Data as Source,
EventDate.Data as EventDate,
EventDays.Data as EventDays,
EnquiryCreatedDate.Data as EnquiryCreatedDate,
Description.Data as Description
FROM dbo.[DataTEST] d...
September 21, 2016 at 4:59 am
I don't think cmdshell is evil and it was very useful many times to solve problems at work as a DBA while I started automating my tasks.
However when I...
September 21, 2016 at 3:12 am
Hi, what makes you ask this question? if you are just considering the hosting your existing database code and no new development, I think you are safe. You might want...
September 19, 2016 at 4:20 am
SQL Galaxy (9/14/2016)
also...
September 14, 2016 at 8:01 am
Hi Bharat,
I think Hugo has explained you very well all the routes you can take. As he mentioned you can use DMV (they are good only since last restart) for...
September 14, 2016 at 4:58 am
I have used SMO usin .net and SSIS long back to automate scripting selective database objects.
I think you can use SMO and powershell to achieve the same
September 7, 2016 at 10:06 am
Why are considering this in the first place?
It is better to use query hints as minimally as possible. Since the execution plan changes based on data, query hints may...
September 7, 2016 at 5:45 am
I too agree that the approach should be reconsidered if you have the luxury.
As Gail mentioned, there is no way than to execute alter scripts for each table.
However you can...
September 6, 2016 at 3:36 am
The Dixie Flatline (9/5/2016)
koti.raavi (9/5/2016)
Yeah i do match on both member Id and name as well.My case member id is not unique
Thanks,
Dhana
We do something similar, matching on license numbers...
September 6, 2016 at 3:18 am
Since you are using the stored procedure route, they do not need the fixed database role. But you need to give explicitly grant execute permission to the procedure you cerated
August 15, 2016 at 6:34 am
Viewing 15 posts - 61 through 75 (of 404 total)