Viewing 15 posts - 4,156 through 4,170 (of 5,394 total)
GilaMonster (6/18/2010)
Lynn Pettis (6/17/2010)
June 18, 2010 at 2:57 am
You're welcome.
Let me know if this worked for you.
June 17, 2010 at 9:22 am
If you just want to update table Client, you must use an UPDATE statement:
UPDATE DB1.dbo.Client
SET Notes = DB2.dbo.AllNotes.notes
FROM DB1.dbo.Client
INNER JOIN DB2.dbo.AllNotes
ON cid=UserID
If you also want to insert...
June 17, 2010 at 1:09 am
I know for sure of SAVE TRANSACTION, but I've never heard of BACKUP TRANSACTION.
June 16, 2010 at 3:11 pm
It doesn't look like a message you can get from that statement.
Are you sure there's no trigger on the table?
June 16, 2010 at 3:05 pm
GilaMonster (6/16/2010)
To start with, because they are not equivalent queries.
-- some code here
Oh, don't be too picky, Gail! You know what I mean.
BTW, they can be equivalent. Just change your...
June 16, 2010 at 2:57 pm
This should help:
SELECT * into #tmp_table from
(
SELECT 1 AS ID, 'ProductA' AS Code, 5 AS Quantity
UNION ALL
SELECT 2 AS ID, 'ProductA' AS Code, 5 AS Quantity
UNION ALL
SELECT 3 AS ID,...
June 16, 2010 at 10:20 am
shanila_minnu (6/16/2010)
131402252 decimal is changing to 02/09/2005 8:37:16
I'm sorry, but I don't see how.
I don't understand that code. What language is it?
June 16, 2010 at 10:01 am
Trey Staker (6/16/2010)
Dave Ballantyne (6/16/2010)
Damn Damn Damn, ive mislaid my sql magic wand.http://www.sqlservercentral.com/Forums/FindPost937995.aspx
Perhaps if i shouted at the server .....
skcadavre's comment on that thread cracked me up to tears.
It's quite...
June 16, 2010 at 9:57 am
Just a guess, but maybe the providers are loaded in process and you won't get them back working without restarting SQL Server.
It's something I experienced in the past with a...
June 16, 2010 at 9:43 am
So, it's not a valid date.
Probably that field has concatenated data inside. You will have to find out how data is represented in that column. Where does this data...
June 16, 2010 at 9:28 am
I think you confused server and database. Does this work?
CREATE SYNONYM [dbo].[Product] FOR [06WEBSQL\WEBSQL].[06dw].[dbo].[Product]
June 16, 2010 at 9:25 am
Datetime is represented internally by a float value, where the integer part is the date value and the fractional part is the time value.
You could try casting with something like:
select...
June 16, 2010 at 9:19 am
Viewing 15 posts - 4,156 through 4,170 (of 5,394 total)