Viewing 15 posts - 151 through 165 (of 920 total)
The package you're running does more thasn the stored proc you've shown. Looks like a full DB restore was doen, then something ran that caused this error, then the...
February 18, 2013 at 9:40 am
As Sean said, you can't return 20 numbers in an int. You could string them together in a single return value like so:
create function fn_fibo(@end int)
returns varchar(255)
as
begin
declare @a int,...
February 15, 2013 at 11:47 am
Sorry, I mis-read that. What command in the job is actually issuing the error? Do you have the complete error log from the package execution?
February 15, 2013 at 9:19 am
The first question would be: What's the purpose of the NOLOCK? Can you just take it out?
February 15, 2013 at 9:11 am
How did you generate the format file? First thing I see is that the format file describes the input as being tab delimited, but the input is comma delimited...
February 5, 2013 at 12:15 pm
A very efficient character splitting function can be found here:
http://www.sqlservercentral.com/articles/Tally+Table/72993/
The link to the discussion in the article is also worth a read. Lots of great information to be gleaned...
February 4, 2013 at 4:57 pm
Not really sure what you're trying to do here, but the query that has the column d_created is a different query than the second one. The c alias in...
February 4, 2013 at 4:36 pm
Could you post the definition of the target table, the format file, and a few rows of data for us to test with? Pretty sure you'd get a qucik...
February 4, 2013 at 3:34 pm
Hmmmmm... This return 1 for me:
create table box (
shape geometry null)
insert box(shape) values(geometry::STGeomFromText('POLYGON((-125.37123023799995 60.111279971000044,
-125.37123023799995 40.361753622000037, -50.418208553999932 39.647915321000028,
-50.418208553999932 60.349226071000032, -125.37123023799995 60.111279971000044))', 0))
DECLARE @x float;
DECLARE @y float;
DECLARE @h geometry;
SET...
January 31, 2013 at 4:57 pm
Wouldn't it be the normal:
SELECT @h = Shape FROM GIS_VECTOR.GIS.Box
January 31, 2013 at 4:31 pm
Is the default database for the user you are loging in as set up correctly? Does that user have an id in that database?
January 30, 2013 at 3:21 pm
The server is set to use SQL Server authentication?
January 29, 2013 at 4:49 pm
Did you run a maintenance plan over the weekend that updated statistics or rebuilt indexes?
January 17, 2013 at 3:49 pm
Can you print both variables before and after the 'select'. How does the date variable get set? What are the data types for the variables?
January 17, 2013 at 1:22 pm
As far as I know, there is no way to do a backward restore, even if the database was in a compatibility mode that matched the lower version. The...
January 9, 2013 at 3:17 pm
Viewing 15 posts - 151 through 165 (of 920 total)