Viewing 15 posts - 54,046 through 54,060 (of 59,072 total)
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
Converting a VARCHAR date to a VARCHAR date get's you nothing... you must first convert to DATETIME.
Also, storing dates as VARCHAR in a table to start with is a form...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 18, 2007 at 6:25 pm
I guess my real question is can SQL Server handle 336,000 transactions as my dataset for the year (that is after proper indexing ...)?
Heh... I've got 'little" IVR systems...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 18, 2007 at 9:21 am
Viewing 15 posts - 54,046 through 54,060 (of 59,072 total)