Viewing 15 posts - 3,016 through 3,030 (of 3,957 total)
Look at BOL: http://msdn.microsoft.com/en-us/library/ms188001(v=sql.105).aspx
Does the first example on that page do what you want?
If not, perhaps I'm misunderstanding.
August 17, 2012 at 1:37 am
rhythmk (8/17/2012)
raghuldrag (8/17/2012)
create table emp(ename varchar(34),job char(33),sal varchar(22))
insert into emp values('sa','sales','400')
insert into emp values('ka','manager','4000')
insert into emp values('sam','Markting','2500')
insert into emp values('sabu','system','3900')
in these table model i ve a report now...
August 17, 2012 at 1:34 am
SomewhereSomehow (8/17/2012)
dwain.c (8/16/2012)
Here's another way that is a bit faster than using PARSENAME.
If we speak for performance aspect, I think it is not parse name, rather it is replace impact,...
August 17, 2012 at 12:25 am
Here's another way that is a bit faster than using PARSENAME.
SET NOCOUNT ON;
--== SOME SAMPLE DATA ==--
IF object_id('tempdb..#testEnvironment') IS NOT NULL
BEGIN
DROP TABLE #testEnvironment;
END;
CREATE TABLE #testEnvironment
...
August 16, 2012 at 7:17 pm
Lynn Pettis (8/16/2012)
Here is one for the do not hire list.Or it could be the needs much training list.
The quality of the hires will be roughly proportional to the quality...
August 16, 2012 at 6:36 pm
ChrisM@Work (8/16/2012)
Not sure of the name though. Symba is a bit silly, it’s a misspelling of...
August 16, 2012 at 6:31 pm
As a great Jedi once said: "Do, or do not, there is no try..."
SET NOCOUNT ON;
--== SOME SAMPLE DATA ==--
IF object_id('tempdb..#testEnvironment') IS NOT NULL
BEGIN
DROP TABLE #testEnvironment;
END;
--1,000,000...
August 16, 2012 at 6:24 pm
rajawat.niranjan (8/15/2012)
I have following queries regarding this:
1. Here I don't have all parameters compulsory except city, so if i use this single query every time I will be join...
August 15, 2012 at 11:26 pm
Eugene Elutin (8/15/2012)
a.) Format with proper indenting of code between BEGIN and END
b.) Remove the hoard of...
August 15, 2012 at 9:18 pm
I have and I can't account for why it happens, just that it does:
http://www.sqlservercentral.com/Forums/Topic1338934-3122-3.aspx
August 15, 2012 at 6:39 pm
Lynn Pettis (8/15/2012)
Jeff Moden (8/15/2012)
WayneS (8/15/2012)
SQLRNNR (8/15/2012)
For the Rhode Island SQLSat, how about we all wear kilts?Is that for speakers, attendees, or all?
If it were a prerequisite for speaking, I'd...
August 15, 2012 at 6:25 pm
Jeff Moden (8/15/2012)
Scott,I haven't done a deep dive on his code but it looks like Dwain's code does the trick. Did you test it?
I even remembered to use MAXDOP...
August 15, 2012 at 6:22 pm
Cadavre (8/15/2012)
dwain.c (8/14/2012)
Cadavre +1 for a very clever solution.Thank you. I was hoping someone would have a method that would blow it away (the performance isn't great) 🙂
Don't think for...
August 15, 2012 at 5:33 am
SET @strCountry = 'Sweden,Portugal'
(@strCountry = '' OR (co.CountryDefaultName IN (SELECT Item FROM dbo.DelimitedSplit8K(@strCountry, ',')) and co.CountryStatusID = 1))
DelimitedSplit8K can be found here: http://www.sqlservercentral.com/articles/Tally+Table/72993/
August 15, 2012 at 2:29 am
I find that these XML questions are never as easy as they first seem to be.
DECLARE @xml XML
SELECT @xml =
'<row id="VFAL.2312" xml:space="preserve">
<c1>DETAIL</c1>
<c2>VFAL.2312</c2>
<c2 m="2">272101-01</c2>
<c2 m="3">AIR DLG-DOUBTFUL LOAN...
August 14, 2012 at 10:25 pm
Viewing 15 posts - 3,016 through 3,030 (of 3,957 total)