Viewing 15 posts - 1,906 through 1,920 (of 2,894 total)
mayur birari (3/13/2012)
But I cannot do that because A is a physical table in the database and all I'm doing is a clean up stuff. I cannot...
March 13, 2012 at 10:08 am
John Chiu (3/13/2012)
Application group like 'control' and don't want use SSIS
I love it!!!
I always thought that SSIS (or any other 3-rd party ETL tool) gives "Application group" much more...
March 13, 2012 at 10:02 am
Try:
1. Use SELECT INTO to insert records you want to stay into new table using INNER JOIN, IN or EXIST
2. Drop the old table
3. Rename new one to old name
March 13, 2012 at 9:51 am
Lynn Pettis (3/13/2012)
Eugene Elutin (3/13/2012)
March 13, 2012 at 9:48 am
what the following sentence from this article does mean than? :
After the first number_rows are returned, the query continues execution and produces its full result set
It may be possible to...
March 13, 2012 at 9:46 am
Can someone explain why everyone suggesting huge concatenation logic when date in YYYYMMDD format can be produced as a simple convert with option 112 for ISO?
March 13, 2012 at 9:27 am
HowardW (3/13/2012)
Eugene Elutin (3/13/2012)
pallavi.unde (3/13/2012)
...
I read Option(fast n) executes query fast and gives o/p soon.
...
Where have you read this from?
It does not make query to run any faster! It just...
March 13, 2012 at 9:17 am
That is different story, if I understand you right, then:
UPDATE S
SET AmtAuth = A.AmtAuth
FROM ##TempTm S
JOIN ##TempTm A -- we join to the record of type A
ON A.ReferenceNumber = S.ReferenceNumber...
March 13, 2012 at 9:04 am
Lynn Pettis (3/13/2012)
SGT_squeequal (3/13/2012)
DOH why dindt i think of that worked perfect thanks 🙂
You really should consider passing the datetime in using the ISO standard format. SQL will properly...
March 13, 2012 at 8:33 am
Could you please edit your post. It's impossible to read...
March 13, 2012 at 8:22 am
texpic (3/13/2012)
Why did...
March 13, 2012 at 8:21 am
Your data sets cannot be inserted to the tables created by provided DDL's. After I've spend time to make it run, I found that your data sample is absolute useless...
March 13, 2012 at 8:10 am
UPDATE A
SET AmtAuth = B.AmtAuth
FROM ##TempTm A
JOIN ##TempTm B
ON A.ReferenceNumber = B.ReferenceNumber
AND A.CardNumber = B.CardNumber
March 13, 2012 at 7:49 am
And if you want convert DateTime to string and format it as YYYYMM, you can simply do this:
select LEFT(CONVERT(VARCHAR,GETDATE(),112),6)
- 112 - is code for ISO format
Edited: I can see that...
March 13, 2012 at 7:42 am
Welsh Corgi (3/13/2012)
I need the Year & the Month of a Date Field Formatted as 'YYYYMM'.Any help would be greatly appreciated.
Thanks.
Your question is quite obscure or incorrect (whatever you like)!
"Date...
March 13, 2012 at 7:39 am
Viewing 15 posts - 1,906 through 1,920 (of 2,894 total)