Viewing 15 posts - 5,116 through 5,130 (of 5,504 total)
triple post.
please see here and here . All posts have one answer so far, making it hard to tell where to continue if required...
July 14, 2009 at 9:04 am
How is the xml variable stored originally?
Do you get it from an xml column, a flat file or anything else?
Is there any known filter you could apply within your openquery...
July 14, 2009 at 8:44 am
pmadhavapeddi22 (7/13/2009)
Hi Steve,I want to display the values as I have given in the example
But, all columns do not refer to a same data type
Thanks
This is just another good example...
July 14, 2009 at 8:27 am
Glad we could help. 🙂
Edit: (Un)fortunately, we can't help you to get (a) shot. 😀
July 13, 2009 at 3:14 pm
Another reason might be an additional UNIQUE constraint other than the primary key.
As you've stated above, you checked the KEYS section in SSMS. Did you check the CONSTRAINT section as...
July 13, 2009 at 2:49 pm
It's rather a task for UNPIVOT...
Here's a sample (pretty much straight off BOL and slightly modified):
DECLARE @t TABLE (col1 VARCHAR (10), col2 VARCHAR (10), col3 VARCHAR (10))
INSERT INTO @t...
July 13, 2009 at 11:38 am
Dave Ballantyne (7/13/2009)
You can lead a horse to water but you cant force him to drinkhttp://www.sqlservercentral.com/Forums/Topic751918-8-2.aspx?Update=1
Obviously the horse is trying to drink from two springs at the same time. Here's...
July 13, 2009 at 11:09 am
Hi,
I'm a little confused... :ermm:
your first and your second post both describe a rather large update statement.
However, your third post is regarding an insert statement...
July 13, 2009 at 10:46 am
Maybe the misunderstanding is caused by the sample data you provided: they just don't seem to match at all...
Where can the result data for "a2" be found in base table...
July 13, 2009 at 10:29 am
Hi,
[sarcasm ON]
please look up "UPDATE" in BOL (Books On Line, which is the help file of SQL Server).
[sarcasm OFF]
More serious:
What do you expect as an answer by providing the amount...
July 12, 2009 at 2:07 am
It's hard to make any tested/verified modification to a query without having any table definition or data to test against.
If you'd like us to have a more detailed look at...
July 11, 2009 at 2:09 pm
Hi,
please check if the following code will help you to get the expected results.
IMPORTANT NOTE:
Since there are no table definitions nor any sample data the code below is completely untested...
July 11, 2009 at 1:25 pm
Hi,
you might want to have a look at the following article:
http://www.sqlservercentral.com/articles/Datetime+Manipulation/61822/.
It describes a fast way to generate a sequence of numbers/dates.
This could be used in an outer join to find...
July 11, 2009 at 10:16 am
Hi,
the following part of your code is a little confusing to me:
... 'update '+@TABLE+' set AuditData.TATCallType=''12'', AuditData.TATCallUnit=''1'' ' ...
If I'm reading your code correctly you're referring to @table with the...
July 11, 2009 at 10:07 am
Hi Bob,
following please find two options on how to define a view depending on how you'd need to get the results.
Since we don't have any more information regarding table definition...
July 10, 2009 at 1:44 pm
Viewing 15 posts - 5,116 through 5,130 (of 5,504 total)