Viewing 15 posts - 61 through 75 (of 1,047 total)
Chirs, I can use IF EXISTS but as it will perform row by row so when there is bulk data arounds 5-10 lakhs that my procedure will take long time...
January 30, 2014 at 2:29 am
Yes I am trying to insert rows which does not exists and update rows if already exists...
Can you please convert my posted query into the solution that you are suggesting...
January 30, 2014 at 2:26 am
ChrisM@Work (1/30/2014)
January 30, 2014 at 2:02 am
kapil_kk (1/15/2014)
Abu Dina (1/15/2014)
kapil_kk (1/15/2014)
Abu Dina (1/15/2014)
Abu Dina (1/15/2014)
kapil_kk (1/15/2014)
January 15, 2014 at 8:18 am
Abu Dina (1/15/2014)
kapil_kk (1/15/2014)
Abu Dina (1/15/2014)
Abu Dina (1/15/2014)
kapil_kk (1/15/2014)
January 15, 2014 at 8:12 am
Abu Dina (1/15/2014)
Abu Dina (1/15/2014)
kapil_kk (1/15/2014)
January 15, 2014 at 7:49 am
Abu Dina (1/15/2014)
kapil_kk (1/15/2014)
January 15, 2014 at 7:10 am
Thanks Miller for your advice 🙂
January 6, 2014 at 9:16 pm
It will be easy for us to help you if you provide some sample data........
January 4, 2014 at 3:45 am
ChrisM@Work (1/2/2014)
kapil_kk (1/2/2014)
ChrisM@Work (1/2/2014)
January 2, 2014 at 7:19 am
ChrisM@Work (1/2/2014)
January 2, 2014 at 6:59 am
this is what I am doing but stuck at not getting column values:
SELECT STUFF(
(SELECT ',' + '"'+sc.name+ '":' + '"' + column values+ '"'
FROM sys.columns sc
INNER JOIN sys.tables st...
January 2, 2014 at 6:32 am
Amount column in query is present in two tables....
From which you are extracting the amount?
May be one your table data contains negative values...
Place table name with Amount in select query...
December 31, 2013 at 1:44 am
Try this,
this is what i can do without table structure:
;WITH CTE AS
(SELECT Top 1 Amount+VATAmount AS TOTAL
FROM FAAccKitty WITH(NOLOCK)
inner JOIN FAAccWinners on FAAccKitty.PlaceID=FAAccWinners.PlaceID
INNER JOIN Reservations WITH(NOLOCK) ON (Reservations.PlaceID...
December 31, 2013 at 12:56 am
BlackIceAngel (12/31/2013)
Msg 102, Level 15, State 1, Line 5
Incorrect syntax near ')'.
Msg 156, Level 15, State 1, Line 11
Incorrect syntax near the keyword 'AND'.
Msg 156, Level...
December 31, 2013 at 12:44 am
Viewing 15 posts - 61 through 75 (of 1,047 total)