Viewing 15 posts - 1,741 through 1,755 (of 1,920 total)
Am sorry buddy, i cant be of much help to u in this.. lets wait for our SSC bigwigs to attend this...
Cheers!!
April 19, 2010 at 6:02 am
For the below statment,
IF @PARTNER_CODE <> '' AND @PARTNER_NAME <> ''
add ISNULL check also and try mate.. lets see if that help...
P.S: I am writing this from home where i...
April 19, 2010 at 5:59 am
Without Table structure, or sample data we cant proceed further buddy :(.. and thats the reason tho u have 20 views, u have only 2 replies...
But for a starter, i...
April 19, 2010 at 5:54 am
Oh i get it... hmmm... i dont think we have a way to check that out using T-SQL, BUT I MAY BE WRONG.. probably with little bit of a helping...
April 19, 2010 at 5:51 am
1. After the first EXEC(@SQL), flush the @sql variable; like , SET @sql = ''
2. Check if the partnercode and partnername column values are not null and then use it...
April 19, 2010 at 5:41 am
Buddy, request unclear.. can u pls post some visual representation of your desired result based on the location and track number??
April 19, 2010 at 5:33 am
Buddy, dint get ur question fully... u mean, u now need a way to find out if the SQLSERVER and its entourage services are running using T-SQL code, am i...
April 19, 2010 at 5:32 am
karthikeyan-444867 (4/19/2010)
but it is producing the exact same execution plan as the one from Jeff.
Yes. I tested both the query plan...i didn't see any difference.
Thanks Karthikeyan!! I wonder how an...
April 19, 2010 at 5:26 am
Jeff Moden (4/19/2010)
April 19, 2010 at 4:09 am
As you said no dynamic sql, i had come up with this approach.. one dis-advantage i am thinking of in this one will be the ; (semi-colon)character i am...
April 19, 2010 at 4:04 am
Hey hi, i know Jeff has given a code for your requirement, which will be 100% fast and reliable..
I just tried out some other way of coding your requirement...
April 19, 2010 at 3:59 am
I second Jeff.. any import from a flatfile should be put up in some holding table which will have nvarchar or varchar columns.. then apply your business logic and insert...
April 18, 2010 at 10:20 pm
Buddy, how are u trying to import it? BCP , BULK insert, SSIS package, how?
April 18, 2010 at 9:06 pm
Paul White NZ (4/18/2010)
Always nice to find that I've answered a thread before I've seen it :laugh:Thanks, Cold Coffee!
coool 😎
You're welcome mate 🙂
April 18, 2010 at 9:00 pm
Will the below code help you buddy??
WITH MAX_DATE_FOR_A_MACHINE_CTE(MACHINE_NAME, MAX_DATE)
AS
(
SELECT
NAME
, MAX(DATE) MAX_DATE
FROM
...
April 17, 2010 at 5:46 am
Viewing 15 posts - 1,741 through 1,755 (of 1,920 total)