Viewing 15 posts - 466 through 480 (of 2,894 total)
...
How can i only return 1 record from LeadfrontierData
...
Which 1 record you want to see in result in case if multiple are found for the same ID?
May 13, 2013 at 3:48 am
If you also want to return records where Oppo_stage != 'Bus_Written' (wthout any other checks for date (closed)) then try this:
Select
oppo_opportunityref
,oppo_stage
...
May 10, 2013 at 10:03 am
...
Once you get it in there, you'll want to use
SUBSTRING(@TheVariable, 1, CHARINDEX(' ', @TheVariable) - 1)
...
Just in case if you will need to pass string without any space:
SELECT LEFT(val,ISNULL(NULLIF(CHARINDEX('...
May 10, 2013 at 8:16 am
SQLKnowItAll (5/10/2013)
Eugene Elutin (5/10/2013)
... NOLOCK reads data that has been changed but not committed...
NOLOCK is kind of dice - it may turn any side.
It can read some data which...
May 10, 2013 at 8:09 am
... NOLOCK reads data that has been changed but not committed...
NOLOCK is kind of dice - it may turn any side.
It can read some data which not yet committed,...
May 10, 2013 at 7:58 am
Check DDL of your DIM_TEMPS table. Some varchar values you are inserting fail to convert into datetime, so it will be related to datetime columns of this table.
May 10, 2013 at 5:39 am
El_Mou (5/10/2013)
its supposed work fine ( of course with setting the language in conversion...
May 10, 2013 at 5:36 am
cyberdaemon (5/10/2013)
Sad to say that i dont have the previledges to view the DDL of spQuery_GetSequenceNo that given to me.
@chrism-2@Work
is set the value of the DPNUmber,amounttobepaid,paymentdate once the user...
May 10, 2013 at 5:16 am
Ok, please see how the same thing can be done wihtou using any loop:
CREATE PROCEDURE [dbo].[PS_DIM_TEMPS] /*(@Date_debut varchar(10), @Date_fin varchar(10))*/
AS
truncate table DWProd.dbo.DIM_TEMPS
declare @D_DEBUT datetime
declare @D_FIN datetime
BEGIN
/*set @D_DEBUT = @Date_debut
set @D_FIN...
May 10, 2013 at 5:04 am
could you please post DDL for spQuery_GetSequenceNo. I have a suspicion that is not returning number as a result. It may be doing it through output parameter...
May 10, 2013 at 3:33 am
kimreyj (5/9/2013)
Specifically how can one step through code as would be done with a .net...
May 10, 2013 at 3:11 am
I wonder, if you could discuss questions with interviewer or it was just written test?
Not long ago I was on the interview, where the interviewer asked me to do...
May 10, 2013 at 3:01 am
aslamshaik6 (5/9/2013)
May 10, 2013 at 2:34 am
Lynn Pettis (5/9/2013)
Eugene Elutin (5/9/2013)
Lynn Pettis (5/8/2013)
Eugene Elutin (5/8/2013)
You should use cursor datatype in output parameter of your procedure. Here you...
May 9, 2013 at 9:31 am
Viewing 15 posts - 466 through 480 (of 2,894 total)