Viewing 13 posts - 16 through 28 (of 28 total)
sure lets say there are 3 tables (actually table will be decided at the runtime , nyways)
country , state , city in the source , they can be in...
July 8, 2005 at 8:00 am
but what if we dont knw the constriants and there name , we jus need to delete alll the constriants associated with a table
i was wondering if such an...
July 5, 2005 at 7:29 am
hi this query will result in all the views that depend on a table , something that can also be achieved by sp_depends <table name>
wat we are looking for is...
June 27, 2005 at 10:58 pm
hi
thnx for all the help
SELECT COUNT(DISTINCT COALESCE(ProductID, '')) ProdCount, COUNT(DISTINCT COALESCE([OrderID], '')) OrderCount
FROM
[Order Details]
will only give the total distincrt value. wat we need is the actual ProductID , its...
June 27, 2005 at 7:30 am
hi
thnx for the reply but this is exactly wat i have written.
basically wat we need is if there are other columns like orderId,CustomerId ....
it gives distinct of all these...
June 27, 2005 at 6:43 am
hi
The reason we need is that we are building a query builder kind of utility that wud query the view definition (which is already present in databases) and then wud query...
June 22, 2005 at 8:42 am
perfect Journeyman , this is wat we need , is it possible???
June 22, 2005 at 8:22 am
thats coz view is already created now we need to query the table based on where in view for that particular table
June 22, 2005 at 8:08 am
but wudnt this be specific for columns , wat we need is to query a view defintion and extract only those where clauses that are used for a particular table???
June 22, 2005 at 7:57 am
hi
to clarify the issue let the view be like
create view "Alphabetical list of products" AS
SELECT Products.*, Categories.CategoryName
FROM Categories INNER JOIN Products ON Categories.CategoryID = Products.CategoryID
WHERE Products.Discontinued =0 and Categories.CategoryID>12...
June 22, 2005 at 7:53 am
hi
to clarify the issue let the view be like
create view "Alphabetical list of products" AS
SELECT Products.*, Categories.CategoryName
FROM Categories INNER JOIN Products ON Categories.CategoryID = Products.CategoryID
WHERE Products.Discontinued =0 and Categories.CategoryID>12...
June 22, 2005 at 7:51 am
hi
to further clarify the issue
let the view be like create view "Alphabetical list of products" AS
SELECT Products.*, Categories.CategoryName
FROM Categories INNER JOIN Products ON Categories.CategoryID = Products.CategoryID
WHERE Products.Discontinued =0 and Products.productId>13...
June 22, 2005 at 7:47 am
hi
hope this makes it little clear
wat we need is to get all the where clause for a view which involve a particular table
so if there is a view that depends...
June 22, 2005 at 6:32 am
Viewing 13 posts - 16 through 28 (of 28 total)