Viewing 15 posts - 361 through 375 (of 516 total)
Jeff Moden (8/30/2012)
Materializing the view as an indexed view may be the best bet for such a thing. Using a pivot or a Cross Tab to create the view...
August 30, 2012 at 11:07 pm
Evil Kraig F (8/30/2012)
Lokesh Vij (8/30/2012)
August 30, 2012 at 11:04 pm
Eugene Elutin (8/30/2012)
Replace the line executing the proc with following:
declare @dt datetime = CAST (FLOOR (CAST (CURRENT_TIMESTAMP as float )) as datetime)
exec dbo.CreerFile '00000000-0000-0000-0000-000000000000',@RefCourrier , @dt
Great!
What a co-incidence, I also...
August 30, 2012 at 5:11 am
Here is the corrected version:
CREATE PROCEDURE [ENREGISTRERREJET]
-- Add the parameters for the stored procedure here
@RejID UNIQUEIDENTIFIER = '00000000-0000-0000-0000-000000000000' OUTPUT,
...
August 30, 2012 at 5:09 am
Greate question Wayne..got to learn something new today 🙂
August 29, 2012 at 1:00 am
Raghavendra Mudugal (8/27/2012)
(So simple and yet it keeps us thinking..., to be honest I selected E,E and then seeing 2nd one's datatype as varchar, but...
August 28, 2012 at 2:24 am
kaspencer (8/28/2012)
It would seem that in SQL Server 2005...
August 28, 2012 at 2:24 am
Kenneth.Fisher (8/27/2012)
demonfox (8/27/2012)
one more observation :
-- t1(id int,data varchar(50)) ; t6 table doesn't exist
create procedure usp_testing
as
select a.id,a.testing from t1 a
inner join t6 b
on b.id = a.id
go
this...
August 27, 2012 at 2:19 pm
bitbucket-25253 (8/26/2012)
Am suprised / astonished at the number of individuals who missed this fundamental question.
Correct answers: 27% (4)
Incorrect answers:...
August 26, 2012 at 10:32 pm
Raghavendra Mudugal (8/24/2012)
Initially I checked the cb-3 box where it stores the poor query details - considering the trace tables from the server-wide catalog tables, but...
August 24, 2012 at 2:07 am
Alan Kwan (8/22/2012)
Originally I had,
CREATE VIEW aggTest as...
Then I managed...
August 22, 2012 at 9:51 pm
Ajdba (8/22/2012)
One more thing I need to add that I am trying to use these TVP as a parameter in my where clause if this is possible at all.Thanks
If you...
August 22, 2012 at 9:46 pm
I knew there is a limit of 1000 records. But got it wrong 🙁
Overlooked the question: Inserts start from 0 that makes the first statement to exceed this limit as...
August 22, 2012 at 9:41 pm
l.narasimha (8/22/2012)
Thanks for your reply.
I tried to hold the lock on a table using sp_getapplock.
But after placing lock, it still allowing to perform INSERT or UPDATE operaion on table.
I...
August 22, 2012 at 4:07 am
Viewing 15 posts - 361 through 375 (of 516 total)