Viewing 15 posts - 3,661 through 3,675 (of 5,394 total)
msn29 (11/17/2010)
Any idea ?
You had at least two from this thread:
1) populate the table with openrowset in a loop
2) use SSIS
Does any of these fit your needs?
November 18, 2010 at 12:43 am
It's a nice tip for a one-shot query, though it won't help you automating the data flow to a destination table.
November 17, 2010 at 4:22 am
ce_web (11/16/2010)
Is this a bad way to go, performance wise?
I think it's not a good idea, for at least two reasons:
1) Storing more than one attribute in a column violates...
November 17, 2010 at 2:52 am
aareynaga (11/16/2010)
Basically I want to know if this will work?
It will, but you're issuing unneeded SQL.
Should i check for records in each table before i update? Or should I stick...
November 17, 2010 at 2:33 am
You could use OPENROWSET and provide the connection string for each server.
You would have to enable ad hoc queries though.
November 17, 2010 at 2:30 am
Oracle doesn't allow inline subqueries that way.
Try this instead:
SELECT trunc(sysdate) AS refresh,
empd.GSP_GROUP_ID AS gpid,
...
November 9, 2010 at 6:04 am
CirquedeSQLeil (11/4/2010)
Ray K (11/4/2010)
Gianluca Sartori (11/4/2010)
So it seems.Nothing to complain about today?
I think you spoke too soon.
http://www.sqlservercentral.com/Forums/FindPost1016045.aspx
Mr. Celko, please go away. The question was obviously answered, DDL or not....
November 4, 2010 at 11:43 am
Oh, come on Joe!
This is the newbies forum.
People that post here didn't read your books (and probably never will, if you treat them this way...)
November 4, 2010 at 11:39 am
So it seems.
Nothing to complain about today?
November 4, 2010 at 10:43 am
Thank you!
It's strange, indeed. STATIC cursors have to make a tempdb copy of the data, I would expect this to take some time and lose compared to KEYSET. Go figure.
November 4, 2010 at 9:24 am
TheSQLGuru (11/4/2010)
... although Hugo Kornelis has shown that local static forward_only read_only can be a tad faster.
Do you have any reference to point me to?
Recently a MS consultant...
November 4, 2010 at 8:57 am
Dave D. (11/4/2010)
November 4, 2010 at 8:51 am
Fox87 (11/4/2010)
November 4, 2010 at 7:06 am
Try this:
USE msdb;
GO
-- Create a view to transform sqlAgent crappy dates into datetime columns
CREATE VIEW dba_JobHistory
AS
WITH JobHistory AS (
SELECT SUBSTRING(J.name, 1, 35) Job_Name, -- Shortened to fit the email
CAST(STUFF(STUFF(CAST(JH.run_date...
November 4, 2010 at 4:44 am
Do you have a firewall between your pc and the cluster? If so, it's an old and well known issue.
SQL Browser is not cluster-aware. This means that it can receive...
November 4, 2010 at 4:07 am
Viewing 15 posts - 3,661 through 3,675 (of 5,394 total)