Viewing 15 posts - 6,241 through 6,255 (of 7,164 total)
XSINIL is a good tip. It is an option if you switch your query from EXPLICIT to ELEMENTS.
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 6, 2011 at 10:36 am
What is your question?
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 6, 2011 at 10:31 am
I am not seeing a way to do it in one query...maybe someone else will chime in, but something along these lines may work for you:
USE AdventureWorks2008R2
GO
DECLARE @xml XML =...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 6, 2011 at 10:22 am
If you go for the videos Gail posted all I can say is buckle in tight, I gave them a listen a while back (at her recommendation) when trying to...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 6, 2011 at 9:57 am
S t e f (6/6/2011)
HiWe have created an SP that accepts an XML parameter that is validated using an XSD.
Are you sure you bound the schema to the proc parameter...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 6, 2011 at 9:46 am
When I save just the top portion of your script as a new PS script:
param(
[string]$itype=$(Throw "Parameter missing: -type FULL|DIFF|LOG"),
[string]$iSQLServerInstance=$(Throw "Parameter missing: -SQLServerInstance...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 6, 2011 at 9:31 am
Bill Tidwell (6/3/2011)
Help me out here. I have no DDL or DML. The sample data included in my post was captured from a raw-data/ ASCII file supplied by...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 3, 2011 at 1:37 pm
am-244616 (6/3/2011)
Thanks for the reply-e command worked for the question#1,
Excellent!
however for question 1 if the update statement takes more than a min to run, it does not log the...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 3, 2011 at 1:19 pm
I little over my head so thought I would bring it up here...neat post buried in SSIS forum:
http://www.sqlservercentral.com/Forums/Topic1119608-148-1.aspx
First thoughts: parameter sniffing or parallellism diffs in plans based on diff parameters....
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 3, 2011 at 12:45 pm
Use the -e parameter of sqlcmd.
As an aside...why are you compelled to call sqlcmd from within a T-SQL process using xp_cmdshell? You generally better leaving the default of having xp_cmdshell...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 3, 2011 at 12:29 pm
Sounds like you're just starting out on the topic...Books Online is usually a good place to look to find a high-level overview as well as examples of the practical applications...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 3, 2011 at 12:18 pm
Here is the article I think Chris was alluding to:
http://www.sqlservercentral.com/articles/T-SQL/68467/%5B/url%5D
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 3, 2011 at 12:00 pm
I second what Ron said. Help us by providing DDL to create test tables, DML to create test data and your expected results and we'll help you by providing tested...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 3, 2011 at 11:57 am
PS I think it's odd that you can get away with this in SQL Server. I had a similar initial thought to what GSquared posted...a visceral "NO" to the premise...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 3, 2011 at 10:17 am
lanky_doodle (6/3/2011)
Does this look sound?
That's the query structure I was thinking would work for you. You are using clock number, not name, which is a proper column to partition on...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
June 3, 2011 at 10:01 am
Viewing 15 posts - 6,241 through 6,255 (of 7,164 total)