Viewing 15 posts - 13,306 through 13,320 (of 13,876 total)
Perhaps you could add an extra field to the table you are inserting into - call it BatchID or something similar - then you just need to work out how...
October 6, 2005 at 7:18 am
Have you tried running in debug to try and isolate exactly when the error appears?
October 6, 2005 at 7:12 am
As you can see from Chris' example, the subquery cannot execute without the parent query - this is what 'corelated' refers to.
An independent subquery can run in isolation, eg
select *...
October 6, 2005 at 3:20 am
How are you loading the data at the moment?
1.5GB every two hours is lots less than 150GB a day - I don't understand!
Does the data need to be available to...
October 4, 2005 at 8:30 am
Please do not submit the same post in multiple forums - follow this link to see my suggested approach, which expands a little on Andy's.
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=9&messageid=225706
October 4, 2005 at 3:16 am
This is fairly straightforward. You do not need separate databases for this information, even if the number of schools gets very large - you will find that having everything in...
October 4, 2005 at 3:13 am
Please do not submit the same post in multiple forums.
Use this link for answers to this question:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=7&messageid=225720
October 4, 2005 at 3:02 am
This isn't very elegant but it works. You'll notice that the calculation of @totalmins at the end relies on integer division - related to the MOD function that you are...
October 4, 2005 at 2:59 am
Try this - untested, but should get you going:
select r1.*
from server1.database1.information_schema.routines r1
left join server2.database2.information_schema.routines r2
on r1.routine_name = r2.routine_name and r1.routine_type = r2.routine_type
where r1.routine_type = 'procedure' and (r2.routine_name is null)
October 3, 2005 at 10:46 am
Why not just detach the dbs on the old computer, copy them across using Explorer and then attach on the new PC? This takes SQL Server out of the equation.
Also,...
October 3, 2005 at 7:26 am
Using EM to input data, CTRL/0 will enter a NULL for you.
If you are really concerned, I guess you could write a trigger that will always convert space to NULL,...
October 3, 2005 at 5:42 am
SQL Server recognises a space as being different from a null (because it is). Why don't you just configure your app to convert a space to a null and write...
October 3, 2005 at 4:20 am
Can't find a way of doing this without using sysfiles - here's an example, if you need it:
declare @dbname varchar(100)
declare @strSQL nvarchar(500)
set @dbname = 'master'
set @strSQL = 'select name, fileid,...
September 25, 2005 at 6:01 am
What you are trying to do is a little more complex than this - though this gets a bit closer, I think:
declare @table varchar(50)
declare @str1 nvarchar(1000)
set @table = 'test_table'
set @str1...
September 25, 2005 at 2:49 am
I've never seen this message before - you've got something strange happening there! All I can suggest is that you remove transformations one at a time and keep trying ......
September 23, 2005 at 2:45 am
Viewing 15 posts - 13,306 through 13,320 (of 13,876 total)