Viewing 15 posts - 31 through 45 (of 53 total)
Have you got a covering index for this query ? Is this index also partitionned ?
However, it's a lot of data, it will take some time.
October 18, 2013 at 5:16 am
And don't forget to give execution permissions if needed.
October 18, 2013 at 3:55 am
Float and real are approximate data types. Therefore you should use decimal.
October 18, 2013 at 2:48 am
Select all your jobs, right click, All tasks, generate sql scripts. It's pretty straightforward. 🙂
http://msdn.microsoft.com/en-us/library/aa177024(SQL.80).aspx
October 18, 2013 at 2:00 am
dhananjay.nagarkar (10/17/2013)
Thanks for the help on this jonysuise .You are a genius 🙂
it is working as desired now.
Far far far away from being a genius, thanks 😛
Anytime. 😛
October 18, 2013 at 12:30 am
Sean Lange (10/17/2013)
October 17, 2013 at 3:42 pm
arnipetursson (10/17/2013)
Surely you meant:SELECT DATEADD(d, -2, DATEADD(m, DATEDIFF(m, 0, GETDATE())+1, 0))
SELECT DATEADD(s, -1, DATEADD(m, DATEDIFF(m, 0, GETDATE())+1, 0))
returns: 2013-10-31 23:59:59.000
Indeed. Thanks 🙂
October 17, 2013 at 3:41 pm
I think you need to repeat the case statement in your group by clause.
SELECT [WorkForce_WorkOrder].[Work Order ID_WO]
--,[WorkForce_WorkOrder].[GHRMS Contingent Worker ID_WO]
,[contractor ID] = CASE
WHEN [WorkForce_WorkOrder].[GHRMS Contingent Worker ID_WO] is null
THEN...
October 17, 2013 at 3:12 pm
DaveDB (10/17/2013)
I know this is a basic question, but I cannot seem to focus today. Thanks for your time.
Anytime 🙂
October 17, 2013 at 2:03 pm
SELECT DATEADD(s, -1, DATEADD(m, DATEDIFF(m, 0, GETDATE())+1, 0))
October 17, 2013 at 1:59 pm
Check this post. Might help.
http://carlosbercero.com/post/?post=Writing_a_CLR_Stored_Procedure_on_SQL_Server
October 17, 2013 at 1:21 pm
Use master..xp_cmdshell or CLR stored procedures instead.
master.dbo.xp_dirtree is an undocumented and unsupported procedure.
October 17, 2013 at 10:59 am
Steve-0 (10/17/2013)
http://technet.microsoft.com/en-us/library/ms186348(v=sql.105).aspx
My question at this point is, how does this affect any...
October 17, 2013 at 9:02 am
You would need to fail over to the mirrored database in order to make this one as principal i think.
October 17, 2013 at 8:48 am
Viewing 15 posts - 31 through 45 (of 53 total)