Viewing 15 posts - 54,061 through 54,075 (of 59,089 total)
Rude or unprofessional? Hell, you started it... first you wouldn't answer my simple question even though I gave you an answer that works... good forum etiquette dictates that you...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 20, 2007 at 6:07 am
And, yet, my simple question goes unanswered. I just want to know why whoever you're writing this for thinks they need it in such a dumb format. Don't...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2007 at 7:17 pm
Even with that, it's still gonna blow up... the skipped rows have to have the same format as those that aren't. It's a fault in both Bulk Insert and...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2007 at 5:12 pm
Matt Miller (11/19/2007)
Jeff Moden (11/19/2007)
Server: Msg 8102, Level 16, State 1, Line 4
Cannot update identity...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2007 at 5:09 pm
Cool... glad to see someone else using a Tally table...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2007 at 5:04 pm
If you just TRUNCATE the tables, no reseeding is necessary... IDENTITY columns will start over.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2007 at 4:59 pm
If income and expense are integers, it won't work unless you force a conversion as in the following...
select income, expense, ((income-expense)/income)*100.0 as percentageexpense from sales
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2007 at 12:02 pm
Mr. Impatient has triple cross-posted...
http://www.sqlservercentral.com/Forums/Topic423754-147-1.aspx
http://www.sqlservercentral.com/Forums/Topic423766-150-1.aspx
http://www.sqlservercentral.com/Forums/Topic423758-1063-1.aspx
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2007 at 11:59 am
Mr. Impatient has triple cross-posted...
http://www.sqlservercentral.com/Forums/Topic423754-147-1.aspx
http://www.sqlservercentral.com/Forums/Topic423766-150-1.aspx
http://www.sqlservercentral.com/Forums/Topic423758-1063-1.aspx
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2007 at 11:50 am
Mr. Impatient has triple cross-posted...
http://www.sqlservercentral.com/Forums/Topic423754-147-1.aspx
http://www.sqlservercentral.com/Forums/Topic423766-150-1.aspx
http://www.sqlservercentral.com/Forums/Topic423758-1063-1.aspx
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2007 at 11:50 am
Maybe that works in 2k5... just not in 2k... yeup, I know... it's a 2k5 forum...
Server: Msg 8102, Level 16, State 1, Line 4
Cannot update identity column 'ID'.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2007 at 6:02 am
That certainly looks like an inner join... but, it's not... behind the scenes, you end up with the same thing as a cross-join because of the criteria you've specified.
It will,...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2007 at 5:47 am
Yes, there is a work around...
Create a view that looks like this...
CREATE VIEW dbo.vGetUTC AS
SELECT GetUTCDate() AS UTCDate
Then "call" the view from the function instead of calling GetUTCDate().
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2007 at 5:38 am
Hi,
You can try the following query :
select case isnumeric(YourFieldName) when 1 then YourFieldName else 0 end.
Avaneesh,
Try this and see why you shouldn't use ISNUMERIC as an "IsAllDigits" function...
SELECT ISNUMERIC('1e3')
...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2007 at 5:33 am
Matjaz Justin (11/19/2007)
Maybe something like this:select (select count(*) from sysobjects c where c.id < a.id) + 1
from sysobjects a
order by id
lp, Matjaz
Ummm... be careful... that's a classic "Triangular Join" and...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 19, 2007 at 5:21 am
Viewing 15 posts - 54,061 through 54,075 (of 59,089 total)