Viewing 15 posts - 1 through 15 (of 21 total)
I have a query that has some parameters:
(
SELECT DISTINCT
T.TICKET_NUMBER AS TicketNum, A.DESCRIPTION AS Action, O.SYMBOL_CODE AS Symbol, T.TRADE_PRICE AS Price, T.VOLUME_TRADED AS FillVol,
T.EXTENDED_PRICE AS TotalValue, T.SUBMITTED_TIME AS ActTime, T.SUBMITTED_DATE AS...
June 1, 2009 at 7:50 am
Your code fails when there is no '+' in the string, causing the right() function to fail. You could simply update ... etc WHERE the old_column does contain a '+'.
partial...
June 1, 2009 at 7:39 am
Sounds like one of your stored procedures is sorting, joining, or comparing a TEXT column.
TEXT is useful for storing lots of highly variable input provided you only want to store...
June 1, 2009 at 7:20 am
This message is telling you that two process were trying to access the same data at the same time: look up "deadlock". The job cannot complete while other people or...
June 1, 2009 at 7:13 am
You could handle the issue by pre-validating the data for output, and directing accordingly.
> Select Data that meets all your file conditions for output: a view in SQL might be...
June 1, 2009 at 7:10 am
Updating the Primary Key (1) to (1+1=2) would create two records with the same Primary Key (2). This will not work, and should not be attempted.
A Primary Key constraint requires...
June 1, 2009 at 7:01 am
iklektic (5/28/2009)
The purpose of this report is to list new customers (or customers that are in our system but have not used our services in...
June 1, 2009 at 6:49 am
This might be the SQL Server service. Probably not a good idea to kill the service behind the scenes.
June 1, 2009 at 6:44 am
I would suggest using more than one column to store the data, then your users can search intelligently.
create table dbo.Chapters
(chapterID int not null,
sectionID int not null,
csDescription varchar(100) not null
)
insert into...
June 1, 2009 at 6:33 am
Kris (5/26/2009)
May 28, 2009 at 9:44 am
Kris (5/24/2009)
May 28, 2009 at 9:38 am
For real?
"insert into master..SomeUserTable"
May 28, 2009 at 9:31 am
Frank Kalis (5/28/2009)
SELECT DATEADD (DAY, DATEDIFF (DAY, 0, '2009-05-28 11:18:49.123'), 0)
Might be a little more usful if it returned tomorrow's date if it is run tomorrow:
SELECT DATEADD (DAY, DATEDIFF (DAY,...
May 28, 2009 at 9:15 am
eseosaoregie (5/28/2009)
May 28, 2009 at 9:09 am
Where will this data be held? I would assume it is going into SQL Server 2005 but your description of the issue makes me wonder.
You can use access, excel, or...
May 28, 2009 at 7:50 am
Viewing 15 posts - 1 through 15 (of 21 total)