Viewing 15 posts - 7,921 through 7,935 (of 15,381 total)
realvilla (6/18/2013)
As for the recursion:http://msdn.microsoft.com/en-us/library/ms175972.aspx
(Notice that it does say 2012 version)
Here is the quote from the first paragraph there.
A common table expression can include references to itself. This is referred...
June 18, 2013 at 2:08 pm
realvilla (6/18/2013)
June 18, 2013 at 1:44 pm
Hi and welcome to the forums. I don't quite understand why you are using openquery for this.
There are a number of things that are causing this be far slower...
June 18, 2013 at 1:13 pm
realvilla (6/18/2013)
June 18, 2013 at 11:53 am
See if this article helps point you in the right direction.
http://www.sqlservercentral.com/blogs/lynnpettis/2009/03/25/some-common-date-routines/%5B/url%5D
June 18, 2013 at 11:51 am
realvilla (6/18/2013)
All I can say is "wow"! You did this without variables, dynamic SQL or a top clause. That is amazing to me.
Hopefully you can understand what I...
June 18, 2013 at 10:01 am
SQLTestUser (6/18/2013)
i am looking for Null values and based on those null values i want to update a column in one of the tables. A trigger that...
June 18, 2013 at 9:48 am
OK there are a few thing that we still missing but I pieced together. First thing is in your original logic you updated the returns in order of delivery date...
June 18, 2013 at 9:27 am
Arthur Kirchner (6/18/2013)
.... and the ORDER BY 1 means ORDER BY the first column expression the SELECT Statement.Just adding this because I didn't know that not a long while ago...
To...
June 18, 2013 at 8:37 am
Hi and welcome to the forums. In order to help we will need a few things:
1. Sample DDL in the form of CREATE TABLE statements
2. Sample data in the form...
June 18, 2013 at 8:34 am
I realize you have a solution but I would be remiss if I did not mention that you should consider separating this data permanently. You are storing two values in...
June 18, 2013 at 8:29 am
mahavidhya24 (6/17/2013)
(
student name nvar char(50),
marks int
)
Insert into marks(student name,marks) values('ma ha',67)
Insert into marks(student name,marks) values('tuba',78)
Insert into marks(student name,marks) values('Deena',70)
Insert into marks(student name,marks) values('Oriya',90)
Insert into marks(student name,marks) values('saga',98)
select *...
June 18, 2013 at 8:24 am
In order to help we will need a few things:
1. Sample DDL in the form of CREATE TABLE statements
2. Sample data in the form of INSERT INTO statements
3. Expected results...
June 18, 2013 at 8:18 am
SQLTestUser (6/17/2013)
select P.Id,...
June 18, 2013 at 8:00 am
The ddl is pretty rough but I can make it work. You should always specify a size for varchar columns. Also, it seems like you could be using ints for...
June 18, 2013 at 7:54 am
Viewing 15 posts - 7,921 through 7,935 (of 15,381 total)