Viewing 15 posts - 4,756 through 4,770 (of 15,381 total)
alhakimi (5/27/2014)
Thank you for your quick response, i tried that , but two points still need your assistant with is those two tables are from two different databases...
May 27, 2014 at 3:29 pm
nimalatissa (5/27/2014)
May 27, 2014 at 2:31 pm
SQL_ME_RICH (5/27/2014)
I am in the midst of some database tuning for a CRM 2011 database, and part of that effort is in attempting to get rid of what...
May 27, 2014 at 2:20 pm
You could also use EXCEPT for this.
select *
from table2
EXCEPT
select *
from table1
May 27, 2014 at 2:15 pm
Excellent job posting ddl and sample data. Your description is good too. Thanks!!! This makes it a lot easier to work on your issue.
Your description of desired output and the...
May 27, 2014 at 2:14 pm
Ed Wagner (5/27/2014)
Sean Lange (5/27/2014)
eccentricDBA (5/27/2014)
Ed Wagner (5/27/2014)
SQLRNNR (5/27/2014)
Ed Wagner (5/27/2014)
crookj (5/27/2014)
BWFC (5/27/2014)
TomThomson (5/24/2014)
SQLRNNR (5/23/2014)
whereisSQL? (5/23/2014)
TomThomson (5/23/2014)
Revenant (5/23/2014)
Ed Wagner (5/23/2014)
SQLRNNR (5/23/2014)
Ed Wagner (5/23/2014)
crookj (5/23/2014)
Ed Wagner (5/23/2014)
BWFC (5/23/2014)
RingRule
Decree
Dictate
PotatoHead
Toy
Story
Board
Chalk
ongle
scratch
Fever
stranglehold
Tango
&Cash
FUBAR 😀
Fugazi
SNFU
Specifications
nonexistent
May 27, 2014 at 2:06 pm
eccentricDBA (5/27/2014)
Ed Wagner (5/27/2014)
SQLRNNR (5/27/2014)
Ed Wagner (5/27/2014)
crookj (5/27/2014)
BWFC (5/27/2014)
TomThomson (5/24/2014)
SQLRNNR (5/23/2014)
whereisSQL? (5/23/2014)
TomThomson (5/23/2014)
Revenant (5/23/2014)
Ed Wagner (5/23/2014)
SQLRNNR (5/23/2014)
Ed Wagner (5/23/2014)
crookj (5/23/2014)
Ed Wagner (5/23/2014)
BWFC (5/23/2014)
RingRule
Decree
Dictate
PotatoHead
Toy
Story
Board
Chalk
ongle
scratch
Fever
stranglehold
Tango
&Cash
FUBAR 😀
Fugazi
SNFU
May 27, 2014 at 1:21 pm
I agree with Phil. Here is an excellent series of articles about the topic.
http://sqlinthewild.co.za/index.php/2007/11/27/parameter-sniffing/%5B/url%5D
May 27, 2014 at 12:37 pm
chrismic999 (5/27/2014)
SELECT accountname,invoice_date, ROW_NUMBER()
OVER(PARTITION BY AccountName Order by INVOICE_DATE) as RankOrder from dbo.sagesales
where AccountName is not null
Insert help from above
But now I want to update...
May 27, 2014 at 9:49 am
chrismic999 (5/27/2014)
In the file I have 2 columns AccountName and Invoice_Date which I order...
May 27, 2014 at 9:24 am
adonetok (5/27/2014)
Of all select statement, they need @headerid and @Providerid value.
If using
SELECT HEADERID, PROVIDERID INTO #HEADER...
May 27, 2014 at 7:57 am
In order to help we will need a few things:
1. Sample DDL in the form of CREATE TABLE statements
2. Sample data in the form of INSERT INTO statements
3. Expected results...
May 27, 2014 at 7:43 am
adonetok (5/27/2014)
How to fix it?
------------------------------
Declare @headerid Int
Declare @Providerid Int
BELOW CODE IS WORKING:
------------------------------
SELECT @headerid=HEADERID,@Providerid=PROVIDERID
FROM CLAIM WITH(NOLOCK)...
May 27, 2014 at 7:24 am
david.dartnell (5/25/2014)
Thanks everyone for your time, and wonderful responses, I have learned a great deal, and am now getting the results I desired.
Which one of the solutions was the one...
May 27, 2014 at 7:10 am
StarterProgrammer (5/23/2014)
It seems it works but it asked about the time which is CURRENT_TIMESTAMP , it supposed to get the current time of the system automatically ,right!
I think was...
May 23, 2014 at 2:57 pm
Viewing 15 posts - 4,756 through 4,770 (of 15,381 total)