Viewing 15 posts - 1 through 15 (of 36 total)
Hi Dwain ,
Very good article.
I read the article,
I didn't read the whole discussion that is going on.
I have one...
April 7, 2015 at 11:46 pm
oh sorry .i should have tested myself in machine before posting .
Actually ,
DECLARE @T dbo.MyTable;
INSERT INTO @T (Value) VALUES(6),(4),(10),(11);
confused me.Now its clear .I thought this will directly insert into table...
March 3, 2014 at 11:39 pm
Thanks.Great article.
so now can do DML operation inside function using TVP.
so database state can be change inside function .
March 3, 2014 at 4:45 am
Great Article !
Suppose I create some other type of constraint on table like allow only numeric then how will this type of constraint affect performance ?
Suppose I create computed column...
December 9, 2013 at 2:49 am
Hi,
Can you draw the conclusion in other words ?
January 11, 2011 at 4:40 am
you can do this by few ways.
SELECT DISTINCT
(COUNT(TblSuppliers.City)+ COUNT(TblInvoices.ShipCity) + COUNT(TblInvoices.City)+ COUNT(TblCustomers.City)) as total
FROM TblCityRef RIGHT OUTER JOIN
TblSuppliers ON TblCityRef.City = TblSuppliers.City RIGHT OUTER JOIN
TblInvoices ON TblCityRef.City =...
September 6, 2010 at 11:35 pm
Can't you create one additional table,which will hv its own id(ideneity,id of that table,Createdate (datetime).
September 6, 2010 at 3:16 am
Thanks.
Data is repeating.If I run the query as it is then,
"b/w 24 and 48" is repeating,rather it should show its sum.
Please check my query,only thing is that I am unable...
September 4, 2010 at 1:14 am
Hi,
Kindly ignore my language.I never meant that,I am not trying and someone just help me.
I am trying to follow the link u gave.
What I meant was even if someone ...
September 3, 2010 at 6:10 am
Sorry,its sql server 2000.
I hv corrected it.
CREATE TABLE [tblTest] (
[TimeId] [int] NOT NULL ,
[EmpId] [int] NOT NULL ,
[weekStartingDate] [datetime] NOT NULL ,
[Totalhours] [decimal](18, 2) NOT NULL
) ON [PRIMARY]
GO
Just someone...
September 2, 2010 at 10:04 pm
Hi,
Thanks.
Actually,I hv a best practices of Sql server document,where it is mention
like whether to use cursor or not etc and many such thing.
I was expecting equivalent of this document in...
October 9, 2009 at 2:38 am
Hi,
Thanks a lot.
This query also work,
SELECT b.block_id, b.total, count(1) AS RowOrder
FROM mytable AS a, mytable AS b
WHERE a.total>=b.total And a.block_id=b.block_id
GROUP BY b.block_id, B.total
HAVING Count(1) BETWEEN 1 AND 2
ORDER BY b.total...
October 5, 2009 at 11:41 pm
Hi,
how is the date column stored in table,dd/mm/yyyy or mm/dd/yyyy.
convert varchar to datetime,not directly.
Make seperate table with same structure,only change will varchar to datetime column.
Then transfer the whole data to...
October 1, 2009 at 1:56 am
Viewing 15 posts - 1 through 15 (of 36 total)