Viewing 15 posts - 10,921 through 10,935 (of 13,469 total)
your co workers are under informed, I think.
when you move the primary key/clustered index of a table to a new file group, you move it's data as well.
example:
CREATE...
June 29, 2009 at 11:01 pm
there's a pretty good thread on the issue here, but it may or may not be the same thing you are experiencing:
it seems the default behavior of SQL 2005 changed,...
June 29, 2009 at 12:03 pm
well, just as the error message says, the first thing I'd do is check to see if the server allows remote connections:

This issue vs your credentials in your signature don't...
June 29, 2009 at 11:34 am
the above trigger example assumes thre would only be ONE row ever updated at any one time...it best practice is to assume more than one row comes from the INSERTED...
June 29, 2009 at 9:02 am
yeah i agree; either fix the data, or the one parameter raising the issue. I would not try to change hundreds of other parameters...to many things for the QA team...
June 29, 2009 at 8:56 am
@Param1 NUMERIC(2, 0)---this says the definition is 2 digits, none after the decimal....but you are assigning a 5 digit number to it: @Param1 = 92229.0
since the biggist...
June 29, 2009 at 7:47 am
he can use a case statement to group them horizontally;
well...three case statements, right?
case
when c1 <= c2 and c1 c1 and c2 <= c3 then c2....
June 29, 2009 at 7:42 am
RESTORE DATABASE myDatabase WITH RECOVERY would work only if there is already a backup in place and you want to restore the default backup. if this is on a diffrerent...
June 29, 2009 at 6:37 am
you'll want to read up on RESTORE from Books online; if you are restoring from a file, the command would look something like this:
RESTORE DATABASE [YOURDB]
FROM DISK =...
June 29, 2009 at 6:23 am
data like this is tough; i always do this via TSQL and not through SSIS, just because I'm more familiar with TSQL.
Here's how i would do it:
I'd grab the entire...
June 26, 2009 at 11:22 am
you can create a table, and then insert into it directly, but if you alter a table, a GO statement is expected.
simply create your table with the constraint in a...
June 26, 2009 at 9:33 am
One of the harder concepts to grasp is how SQL server works with Set Based operations, compared to programmatically based processing, which thinks about processing data "Row By Agonizing Row"...
June 26, 2009 at 8:48 am
since from the perspective of the server you are looking at, the mdf files are located on a \\UNC drive, I'd speculate that an instance of SQL server on...
June 25, 2009 at 6:01 pm
if you have the mdf and ldf files, in SSMS in the Object Explorer window on the left, you would simply right click on the Database Folder and select Attach...
then...
June 25, 2009 at 11:25 am
easy enough middletree;
add the procedure and run it on your test server.
then immediately run this statement:
select * from sp_DMLTrace
you'll get results for at least 5 rows, which include the commands...
June 25, 2009 at 11:13 am
Viewing 15 posts - 10,921 through 10,935 (of 13,469 total)