Viewing 15 posts - 4,996 through 5,010 (of 7,505 total)
must have been a moment of weakness :w00t:
For once it is ok :hehe: :laugh:
April 3, 2008 at 6:10 am
If you have a large usb-disk that could house the temporary restored db db-files, you could start your sqlserver with an extra parameter, perform your restore, copy your table, drop...
April 3, 2008 at 6:05 am
- Yes ... but not with the propriatary MS tools.
- you could restore the db using a new dbname (and file-set) and then copy the rows of the desired table...
April 3, 2008 at 5:45 am
use bulk insert in combination with bulk logged recovery model
Keep in mind changing the recovery model will affect your DRP !
April 3, 2008 at 4:14 am
Your update trigger needs to be firred !
Then you can check the update content.
CREATE TRIGGER tr_CallDetail ON CallDetail
AFTER UPDATE
as
Begin
if UPDATE (callnumber)
begin
-- this means the callnumber column...
April 3, 2008 at 3:55 am
Regarding FK:
- Many people forget to create supporting indexes for their foreign keys (so in the child tables ! ) ! Resulting in full table scans (every time and again...
April 3, 2008 at 3:52 am
Matt Miller (4/2/2008)
April 3, 2008 at 12:12 am
Well, in case of large data-transfer I especialy would dislike using the clr.
Your sqlserver instance is at risk !
Check my reply on Jeff's article "Solving the "Running Total" & "Ordinal...
April 3, 2008 at 12:04 am
Thank you Jeff for the proformance comparison :rolleyes:
Especialy in that case ( it's only a neglectable difference) I'd prefer the use of the cast or convert, just to avoid implicit...
April 2, 2008 at 11:56 pm
- for starter : avoid clr as much as you can !
- Consume webservices ? Remind your devs that webservices may be down/offline/overloaded/.... So not available
How would that relate...
April 2, 2008 at 4:08 pm
keep in mind the output may varry according to your input parameters (check bol)
Can you post your exact statement ?
Indeed it gives an error, but the temptb is being filled...
April 2, 2008 at 7:51 am
create a #tmptb according to the output you expect (check BOL !!)
then just perform
insert into #tmptb
exec sp_help_job
"et voila" you have the results in the temp table.
April 2, 2008 at 6:08 am
- Did you provide the needed indexes to process your tables ?
- Bol has nice info regarding partitioning.http://msdn2.microsoft.com/en-us/library/ms191174.aspx
- and off course there is still Kimberlys must read WP http://www.sqlskills.com/resources/Whitepapers/Partitioning%20in%20SQL%20Server%202005%20Beta%20II.htm
April 2, 2008 at 3:15 am
Jeff Moden (4/1/2008)
You don't need any of the CASTs...
SELECT DATEADD(mm,1,EndDate+'01')-1
FROM (
SELECT '200812' AS EndDate UNION ALL
...
April 2, 2008 at 3:03 am
you can use ...
if object_id('dbo.yourtable') is not null
begin
drop table dbo.yourtable
end
Keep in mind this is not a best practice because you need elevated auth to be able to drop...
April 2, 2008 at 2:49 am
Viewing 15 posts - 4,996 through 5,010 (of 7,505 total)