Viewing 15 posts - 31 through 45 (of 683 total)
These quereis might help. But bear in mind that these work on data since the last time SQL Server was restarted, so if that was recently, the queries might...
September 10, 2009 at 7:29 am
Try this:
INSERT into tbl_Assembly_Delay(ID, Code, DelayTime)
SELECT ID, '#Trim(FORM.Code)#', '#Trim(FORM.DelayTime)#'
FROM tbl_Assembly_Production
WHERE tbl_Assembly_Production.WorkOrder = '#FORM.WorkOrder#' ;
August 26, 2009 at 12:01 pm
kabaari (8/26/2009)
And thank i advance. I need to "UPDATE table2.ID with value from table1.ID on INSERT into table1"
Table1.ID is Identity Insert but table2.ID is Nullable. I want when...
August 26, 2009 at 7:35 am
What exactly are you trying to achieve here?
You say you're trying to achieve a nested transaction but that doesn't make much sense. So why don't you explain a bit...
August 26, 2009 at 7:25 am
What the previous poster meant was check the amount of free space in the distribution database - not the server. Just because the database is 59GB in size doesn't...
August 26, 2009 at 7:17 am
Gotta admit, I can't think of anything obvious. It doesn't sound like it's an issue but, like you say, it'd be nice to know where the space has come...
July 23, 2009 at 8:28 am
The other thing you can do is run dbcc updateusage(0), which corrects rowcount inaccuracies, which can cause wrong data to be presented when you run the space usage procedures.
I'm not...
July 23, 2009 at 8:08 am
It's quite probably that whilst you were doing all of those inserts, indexes became heavily fragmented and, quite possibly, caused lots of page splits.
I'd go through the exercise of re-indexing...
July 23, 2009 at 7:40 am
Yes, pretty much. Just copy the backup file to the secondary, restore it with norecovery and then get the copy job and the restore job back up and running....
July 23, 2009 at 7:36 am
In this situation I would be inclined to put all of the data into one table and then partition the table with one partition for each month. Thereafter, when...
July 23, 2009 at 7:30 am
You're pretty much spot on with your analysis. In the first example the nested query (or derived table as it's commonly referred to) runs first, the results of which...
July 1, 2009 at 8:02 am
I run a similar query to yours but I regularly dump that data into a dba database I've created and then I've hooked reporting services into it, which allows me...
June 26, 2009 at 6:45 am
As Gail pointed out, each entry relates to a specific statement within the procedure. I've modified your query so that it returns the actual statement each entry relates to....
June 26, 2009 at 5:44 am
ok, so what happens if you log on with 'sa' - does that work?
June 25, 2009 at 4:51 am
So you're saying you can't even logon to the SQL Server? Was the only login onto the SQL Server the local administrator login?
I'm wondering if the local admin login...
June 25, 2009 at 3:02 am
Viewing 15 posts - 31 through 45 (of 683 total)