Viewing 15 posts - 76 through 90 (of 628 total)
your variable types are not valid for SQL.
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
May 12, 2011 at 1:58 pm
look farther up in the output text. you should see an error that tells you exactly where it had the problem.
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
May 12, 2011 at 12:05 pm
your other option would be to output to a file and then send the result as an attachment.
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
May 12, 2011 at 10:32 am
just occurred to me that since you are in 2000 you would not be able to puch more than 8000 characters into the variable. My Bad!
Basically if...
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
May 12, 2011 at 9:46 am
you do not need the variable
INSERT INTO dbo.Purchasing(PartNumber, IsHardware, KitAlways, ChinaPN, KitChina, InstallTime, LaborClass, UnitCost)
select
RIGHT('000000' + convert(varchar(6), PartNo), 6),
0,
0,
RIGHT('000000' + convert(varchar(6), PartNo), 6),
0,
10,
1,
null
FROM
dbo.Purchased
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
May 12, 2011 at 9:28 am
before SQL 2005 there is nothing larger than 8000. In 2005 there is Varchar(max) but that feature is not available in 2000. You can generate a string larger...
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
May 12, 2011 at 9:23 am
In access you have to create the linked table connections. Something of note is that whenever you make a change to table structure in SQL you will have to...
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
May 12, 2011 at 7:21 am
Welsh is absolutely correct I had missed that. you have to establish the relationship between the two tables. the current clause is more of a where cluase not...
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
May 11, 2011 at 2:44 pm
try this. you can not use a like in a join. but by moving it to the where clause it should work fine.
UPDATE Purchasing
SET Purchasing.IsHardware = 1
FROM Purchasing...
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
May 11, 2011 at 2:33 pm
I would take the opportunity to work "What" into every conversation, e-mail, and interaction I could. I would then put "What" posters all over my cubicle. That of...
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
May 4, 2011 at 1:03 pm
You need to post some DDL and sample data. That would allow us to provide a better answer.
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
May 4, 2011 at 12:46 pm
do you have SSIS available to you. this would be very easy to do in an SSIS package and then you could execute the package from a job.
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
April 28, 2011 at 3:26 pm
what are you trying to do with the following lines of code?
CREATE TABLE #GET_EMP_MON_BIRTH
(
emp_dob SMALLDATETIME,
emp_name varchar(255)
)
SET @emp_dob = month(emp_dob);
SET emp_name
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
April 28, 2011 at 8:45 am
I think this is a similiar line of dicussion to a post I addded to someone asking how to get into a DBA position. The smaller companies or even...
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
April 28, 2011 at 8:38 am
The variable @vStart is not declared
Dan
If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.
April 27, 2011 at 1:57 pm
Viewing 15 posts - 76 through 90 (of 628 total)