Viewing 15 posts - 4,621 through 4,635 (of 15,381 total)
Ahh it is preventing more than 2 part naming in the column list.
"A query used a 3-part or 4-part name in the column list. Change the query to use the...
June 4, 2014 at 10:18 am
Ed Wagner (6/4/2014)
June 4, 2014 at 10:16 am
dquirion78 (6/4/2014)
With an alias on table variable I'm able to use it. I just don't know why sql server need an alias to work.
You really should just use an alias...
June 4, 2014 at 9:48 am
harrietf (6/4/2014)
June 4, 2014 at 8:16 am
What a strange requirement. Not sure what you mean by "old" and "new" identity values. Is the "old" value based on the value of col2? If not this seems completely...
June 4, 2014 at 8:14 am
Here is a formatted version of the stored proc for anybody else who might be interested.
GO
/****** Object: StoredProcedure [dbo].[Report_AccBal] Script Date: 06/02/2014 22:02:25 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- ===============================================
-- Author:
--...
June 4, 2014 at 7:46 am
Hi and welcome to the forums. You have a lot more issues with this stored proc than just a while loop. I can only imagine how slow this must run....
June 4, 2014 at 7:46 am
adonetok (6/4/2014)
{
...
June 4, 2014 at 7:24 am
Jason-299789 (6/4/2014)
There are 2 possible solutions, the first is the simple prefilled table with a flag to show...
June 4, 2014 at 7:19 am
ramana3327 (6/3/2014)
I have a table in db like this to log the each application execution time
CREATE TABLE [dbo].[AppTimeLog](
[TimingLogID] [int] IDENTITY(1,1) NOT NULL,
[ApplicationName] [nvarchar](150) NOT NULL,
[Phase] [nvarchar](150) NOT NULL,
[TransactionName] [nvarchar](150)...
June 3, 2014 at 3:22 pm
Luis Cazares (6/3/2014)
Sean Lange (6/3/2014)
Luis Cazares (6/3/2014)
June 3, 2014 at 3:17 pm
Luis Cazares (6/3/2014)
Could you give...
June 3, 2014 at 2:51 pm
Rudyx - the Doctor (6/3/2014)
hmmm ...
table variables are not capable of having indexes (however they support constraints and primary keys)
no indexes mean:
...
June 3, 2014 at 12:32 pm
Myke85 (6/3/2014)
I want to calculate total sum of column.
I have a table with many values of column:
declare @time table
(times nvarchar(255))
INSERT INTO @time (times)
Select ('05:01')
UNION ALL
Select ('00:01')
UNION ALL...
June 3, 2014 at 10:51 am
What I'm trying to do is just save that information, we're continuously running queries that users send to us and we want to test them before apply them in Live.
WHA?????
Why...
June 3, 2014 at 10:32 am
Viewing 15 posts - 4,621 through 4,635 (of 15,381 total)