Viewing 15 posts - 13,456 through 13,470 (of 13,849 total)
Does look like a space problem - perhaps with the db itself. Have you checked to see whether the 'Automatically grow file' property has been set (check the data file...
July 20, 2005 at 8:24 am
Seems to me that you might not have gone far enough in your normalisation quest. I suggest that you should have something like the following tables:
Patient(PatientID, Name, DOB, etc etc)
AandEVisits(VisitID, PatientID,...
July 20, 2005 at 8:17 am
Check out this link for some ideas:
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=169&messageid=146618
July 15, 2005 at 9:47 am
Yes - do you want to warn them first or just torpedo them?
July 15, 2005 at 9:18 am
Is the remote server running in 'mixed' mode, or using Windows authentication only?
(Right click the server in Enterprise Manager, properties, Security, Authentication.)
Regards
July 15, 2005 at 9:15 am
Apart from msdb, model, master and tempdb, what 'System' databases do you have in mind?
Regards
July 15, 2005 at 4:49 am
This code does it in one pass.
declare @InsertParentID int
set @InsertParentID = 2 --or whatever value you need to insert
insert into table1(parentID, itemID)
select @InsertParentID, (select max(t1.itemID) + 1 from table1 t1...
July 15, 2005 at 3:02 am
You can also try
select * from child c
left join parent p on c.childID = p.parentID
where p.parentID is null
and see which is faster.
July 14, 2005 at 8:37 am
It was fixed in time for me to get it right ![]()
July 14, 2005 at 8:34 am
How about coming at this from another angle. Could you write some script, or maybe an executable would be better, that creates a single spreadsheet containing the ~1000 records and...
July 14, 2005 at 6:00 am
Your syntax isn't quite right. Try this:
insert into sales_copy(stor_id,ord_num,ord_date,qty,payterms,title_id)
select stor_id, ord_num, ord_date, qty, payterms, title_id from sales
July 14, 2005 at 5:12 am
Does the insertion order matter? Can't you just create a clustered primary key to force the display order?
July 13, 2005 at 8:53 am
Apart from the table names being plural (I think most DB developers tend to stick to singular), your naming convention looks absolutely fine to me. Having a 'LastUpdated' column in...
July 13, 2005 at 8:32 am
Rather than DROP/CREATE, why don't you just TRUNCATE the table? Not that that will save much time though ...
July 13, 2005 at 8:24 am
Viewing 15 posts - 13,456 through 13,470 (of 13,849 total)