Viewing 15 posts - 3,661 through 3,675 (of 5,393 total)
It's a nice tip for a one-shot query, though it won't help you automating the data flow to a destination table.
-- Gianluca Sartori
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...
-- Gianluca Sartori
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...
-- Gianluca Sartori
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.
-- Gianluca Sartori
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,
...
-- Gianluca Sartori
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....
-- Gianluca Sartori
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...)
-- Gianluca Sartori
November 4, 2010 at 11:39 am
So it seems.
Nothing to complain about today?
-- Gianluca Sartori
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.
-- Gianluca Sartori
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...
-- Gianluca Sartori
November 4, 2010 at 8:57 am
Dave D. (11/4/2010)
-- Gianluca Sartori
November 4, 2010 at 8:51 am
Fox87 (11/4/2010)
-- Gianluca Sartori
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...
-- Gianluca Sartori
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...
-- Gianluca Sartori
November 4, 2010 at 4:07 am
You will have to take plan caching and parameter sniffing into account.
See this great guide by MVP Erland Sommarskog:
http://www.sommarskog.se/dyn-search.html
EDIT: I'm unable to spell "URL"...
-- Gianluca Sartori
November 4, 2010 at 2:00 am
Viewing 15 posts - 3,661 through 3,675 (of 5,393 total)