Viewing 15 posts - 46,216 through 46,230 (of 59,101 total)
HanShi (10/23/2008)
As you allready mentioned, this solution is more generic. The TALLY table now only contains the number...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 7:10 pm
Lookup "OSQL Utility" in Books Online.
The real key here is, why are you trying to do this from the command line... SQL Server can check to see if a file...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 6:55 pm
I read the article, probably I dont have a high IQ, could you please let me know what I've done wrong and what I should do?
Reading just one article probably...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 6:19 pm
Piotr Rodak (1/1/2009)
It does unfortunately..
set language us_english
go
select @@datefirst, datepart(dw, getdate())
go
set language british
go
select @@datefirst, datepart(dw, getdate())
I had to cope with this on a few occasions.
Piotr
That would be true if I used...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 5:59 pm
One of my fellow MVP's... Go back and look at Grant's posts... you'll figure it out. I've probably said too much, already.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 5:52 pm
Datefirst doesn't even come into play on this...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 2:26 pm
Heh... interview must be over, huh? 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 2:23 pm
Steve Jones - Editor (12/31/2008)
Guess no one is working today or my cell phone woes didn't strike anyone as funny.
Heh... not supposed to slam "Dash" phones against the "Dash"... that's...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 2:21 pm
This is obviously either homework or an interview test.
First, please read the article at the link in my signature below for how to post questions concerning data.
Second, show us what...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 1:57 pm
Venkat (1/1/2009)
Instead of storing the value as column in table
Write a Function which will return the contribution percentage
example F_GET_COUNTRY_CONTRIBUTION ( country_name, Year)
By...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 1:55 pm
EXEC (@SQL1+@SQL2+@SQL3...+@SQLn)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 1:48 pm
While I believe that industry experience can, indeed, be a huge help, I believe it should be "nice to have" rather than a requirement when it comes to DBA's and...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 1:46 pm
The more I see about the problems of XML in a database, whether real or percieved, the more happy I am that I've taken the very bitter and hardline stance...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 1:38 pm
santosh.shrestha (1/1/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 1:27 pm
gryphonsclaw (1/1/2009)
You don't have to use a cursor to concatenate a string.DECLARE @myVar varchar(MAX)
SET @myVar = ''
SELECT @myVar = @myVar + mycolumn + ' '
FROM myTable
SELECT @myVar
The author...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 1, 2009 at 1:18 pm
Viewing 15 posts - 46,216 through 46,230 (of 59,101 total)