Viewing 13 posts - 76 through 88 (of 88 total)
Can you post your xml string?
You don't have to go, find and parse yourself, when working with XML you can use xml functions to get specific node values.
June 23, 2011 at 7:12 am
You can query the sys.sysdepends view, like:
SELECT object_name(id) as MainObj, object_name(depid) as DependObj FROM sys.sysdepends
... you can join sys.sysobjects view to get more info, like:
SELECT object_name(d.id) as MainObj, o1.type 'MainObjType',...
June 23, 2011 at 4:57 am
You need CASE with ORDER BY clause, try this:
with cte as (
select distinct
State_Code,
case when State_Code=' ' then 'Unknown'
else State_Code
end State_Code2,
1 as 'State_Code1'
from Dim_Prop_Geo_T
union
select 'All' as State_Code,
'All' ,
0 as...
June 23, 2011 at 3:14 am
Yes, the bad thing is you have 2000, otherwise in 2005 & 2008 its would be easy to do in a single query but still with a tricky logic.
Right now...
June 22, 2011 at 11:58 pm
How about this:
select datename(M,convert(varchar,months)+'/01/2010') as days
from (select 1 as months union
select 2 as months union
select 3 as months union
select 4 as months union
select 5 as months union
select 6 as months...
November 15, 2010 at 3:31 am
Following Link may help: http://social.msdn.microsoft.com/Forums/en-US/transactsql/thread/444e30ec-38cf-4c46-939a-3fc4e194017d/
November 12, 2010 at 1:16 am
Following post may help: http://sqlwithmanoj.wordpress.com/category/excel/
November 12, 2010 at 1:12 am
Forget Man & Car... what about when you have Customers & Products
Customer (custtid, ...)
Orders (orderid, custid, prodid, ...)
Products (prod id, ...)
Orders sits b/w Customer & Products as one customer can...
November 9, 2010 at 6:03 am
Thanks Gail.
But In an interview I was asked, how can I create a PK column without any index?
I responded that this is not possible as SQL Server automatically creates Clustered...
August 23, 2010 at 6:23 am
If I create a primary key on a column then it automatically creates a Clustered Index on it.
How can I create a PK without Clustered index?
August 23, 2010 at 4:08 am
January 13, 2010 at 6:16 am
Hey!
I also use Advantage CRM, which version do you use?
Which company you are in?
-MP
December 28, 2009 at 7:47 am
Hi,
You can add a File System Task at the end of the flow.
Create 2 different variables for Source & Destination file.
Like for Destination excel file you can set the property...
December 1, 2009 at 12:41 am
Viewing 13 posts - 76 through 88 (of 88 total)