Viewing 15 posts - 1,501 through 1,515 (of 2,894 total)
Right now your query returns:
COMPANYCATKWcntcmpcntcatcntkw
PIZZA HUTPIZZAPIZZA555
PIZZA HUTPIZZAPIZZAggg555
PIZZA HUT ADPIZZA ABCPIZZA555
PIZZA HUT PKPIZZA INDOPIZZA555
PIZZA HUT SINGAPORE PTDLTDPIZZAPIZZA555
PIZZA HUT SINGAPORE PTE LTDPIZZAPIZZA555
PIZZA HUT UAEPIZZA PHPPIZZA555
Could you please show what exactly do you...
May 24, 2012 at 6:16 am
Loundy (5/24/2012)
THANK YOU EVERYONE!i was having a crap day but this has totally cheered me up!! 🙂
Give us your address and we will send you our invoices. It will cheer...
May 24, 2012 at 5:50 am
I can only suggest you to follow this:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
May 24, 2012 at 5:30 am
select STUFF(s,4,len(s)-3,replicate('*',len(s)-3))
from
(
select 'Lokesh' s
union select 'Gowda' s
) q
May 24, 2012 at 5:27 am
river1 (5/24/2012)
C:\Program Files\WinRAR\WinRAR.exe x -u "c:\import\PastaExportacao SGCTlocal - 4.01 - 20120523 112426 - T - 1118.rar" "c:\import\PastaExportacao SGCTlocal - 4.01 - 20120523 112426 - ...
May 24, 2012 at 5:24 am
select GROUP_ID, EMP_ID, NTILE(4) OVER (partition by [GROUP_ID] order by [EMP_ID]) AS GROUPLIST
from [dbo].[EMP_REC]
May 24, 2012 at 5:22 am
CELKO (5/23/2012)
...Why do you want to do formatting in the database?
...
Because MS introduced FORMAT function into SQL2012 . May be they done it to pick on you...
:hehe:
... Besides missing...
May 24, 2012 at 5:19 am
You should always use ISO format (YYYY-MM-DD) when converting string values into datetime (or date). This will work regardless of server locale.
May 24, 2012 at 5:01 am
river1 (5/24/2012)
"C:\Program Files\WinRAR\WinRAR.exe" x -u c:\import\"PastaExportacao SGCTlocal - 4.01 - 20120523 112426 - T - 1118.rar" c:\import\"PastaExportacao SGCTlocal - 4.01 -...
May 24, 2012 at 4:49 am
try using double quotes around file name:
set @NomeFinal ='"file1 codp meta2.rar"'
May 24, 2012 at 4:28 am
Eugene Elutin (5/24/2012)
Koen Verbeeck (5/24/2012)
Juphttps://twitter.com/JanosBerke/status/205519876062842880
It's been retweeted a few times and we had some good laughs 🙂
If it's followed on twitter now, I just wonder if the OP did try...
May 24, 2012 at 4:26 am
Not very clear what the problem is. You have duplicate records which you don't want to show?
Use : SELECT DISTINCT.
Otherwise, please provide DDL and sample data as per link at...
May 24, 2012 at 4:16 am
insert into [dbo].[EMP_SUMMARY]
select GROUP_ID, EMP_ID, NTILE(4) OVER (ORDER BY [GROUP_ID], [EMP_ID]) AS GROUPLIST
from [dbo].[EMP_REC]
May 24, 2012 at 4:09 am
Koen Verbeeck (5/24/2012)
Juphttps://twitter.com/JanosBerke/status/205519876062842880
It's been retweeted a few times and we had some good laughs 🙂
If it's followed on twitter now, I just wonder if the OP did try my favoured...
May 24, 2012 at 4:04 am
colin.counsell (5/22/2012)
On my connection I get '5496', whereas in the job it is '5176.
The diff being that my connection has ARITHABORT and QUOTEDIDENTIFIER switched on.
I'll try and change...
May 22, 2012 at 6:53 am
Viewing 15 posts - 1,501 through 1,515 (of 2,894 total)