Viewing 15 posts - 1,951 through 1,965 (of 3,738 total)
ChrisM@home (1/1/2012)
If col1 or col2 are a numeric datatype, I'd explicitly cast.
If either col1 or col2 are nullable,...
January 1, 2012 at 1:26 pm
stebennettsjb (1/1/2012)
Thats got it working! thank you,
Welsh Corgi sorry for not explaining myself very well, I shall follow your links guide from now on.. Your free to breath...
January 1, 2012 at 1:23 pm
ChrisM@home (1/1/2012)
stebennettsjb (1/1/2012)
ohh sorry i was using your examples!read the links when you replied.. Sorry for not adding them before :unsure:
Use single quotes ste (Steve?) - double quotes indicate...
January 1, 2012 at 1:16 pm
stebennettsjb (1/1/2012)
Thanks for creating the test table..
Im trying to get col 3 to be
Col1 COL2 COL3
1 ...
January 1, 2012 at 1:06 pm
I'm glad that you got a solution to your problem:-)
January 1, 2012 at 12:52 pm
Sounds like you do not have a col3?
January 1, 2012 at 12:48 pm
I need your table structure and sample data.
Please look at the link in my signature block.
:w00t:
January 1, 2012 at 12:41 pm
CREATE TABLE UpdateColVar
(Col1 INT NOT NULL,
COL2 INT NOT NULL,
COL3 INT NULL)
GO
INSERT INTO UpdateColVar (Col1, COL2)
SELECT 1,2
UNION ALL
SELECT 2,3
GO
SELECT Col1, COL2, Col1 + COl2 AS Col3
FROM UpdateColVar
Please provide your...
January 1, 2012 at 12:35 pm
stebennettsjb (1/1/2012)
simple one for you experts im sure. I have a table with values in col1 and col2
I want to put both values into a new col with...
January 1, 2012 at 11:58 am
GilaMonster (12/31/2011)
Btw, what business does an app have for pulling 18 000 records down? No one is ever going to read...
December 31, 2011 at 11:16 am
Ninja's_RGR'us (12/31/2011)
I'd check wait stats and use sp_whoIsActive (a lot more info than sp_whoX)http://sqlblog.com/files/default.aspx
http://www.sqlskills.com/BLOGS/PAUL/post/Wait-statistics-or-please-tell-me-where-it-hurts.aspx
Thanks for the link. 🙂
December 31, 2011 at 11:14 am
Is the problem isolated to one or more tables?
What happens is you log onto the Server?
Have you looked at task manager, Select run 'taskmgr' on the Server.
How about the SQL...
December 31, 2011 at 10:02 am
CELKO (12/24/2011)
December 31, 2011 at 9:10 am
You probably already know this but you can get a SQL Server 2008 R2 Developer Edition for under $50 USD.
I recently purchased it from Amazon. I have a 30 credit...
December 31, 2011 at 9:04 am
Thanks everyone and have a happy and safe New Year. 🙂
December 31, 2011 at 7:50 am
Viewing 15 posts - 1,951 through 1,965 (of 3,738 total)