Viewing 15 posts - 91 through 105 (of 1,047 total)
You have created a partitioned index. you need to recreate the table on your partition scheme, or use the clustered index as the partitioned index.
July 1, 2013 at 7:16 am
Okay, for one thing your trigger will fail if more than one row was inserted. Think set-based. You don't need all those local variables.
All your trigger needs to do is...
June 30, 2013 at 10:39 am
First of all, if I wanted to collect data from multiple sources into one table as it occurs I would consider a service broker solution. This methodology is a...
June 28, 2013 at 8:45 am
text (character) data can be stored in a binary (or varbinary) data column. If its valid ASCII or Unicode encoded text it can be "converted" to char or text using...
June 21, 2013 at 9:16 am
Here is a select snippet that will return user and role permissions on objects in a database. I have a proc that I run every day that gathers logins, users,...
June 21, 2013 at 9:08 am
What Sean said except that i would provide an output value for both cases so that the output parameter is always set to some legitimate value:
CREATE PROCEDURE [dbo].[pr_insertAgencyVendorInfo]
( @ClientName nvarchar(15),
@VendorName...
June 11, 2013 at 12:49 pm
The documentation is correct, the activation procedure is executed when a message arrives on the queue.
Of course this only occurs if the queue has activation enabled (turned on) and an...
June 7, 2013 at 9:24 am
If your recovery model is set to FULL and you are not doing T-log backups your transaction log will continue to grow, until eventually it will become larger than the...
June 7, 2013 at 7:27 am
There are two ways you could go: replication (managed by SQL Server) or change your applications to interact with a middle tier that will perform the updates (and queries) instead...
June 6, 2013 at 6:24 am
azenon (6/5/2013)
Sorry if a stupid question but why is the primary data file still growing when a second data file has been added? I would like to not have the...
June 5, 2013 at 11:42 am
You can set up an alias on the client (SQL Native Client) via the client configuration tool.
June 5, 2013 at 11:38 am
There at still many unanswered questions such as what sort of disk arrays are configured, and how is tempdb and the application databases deployed on these arrays? What is...
June 5, 2013 at 6:28 am
Your question is very broad and we have no information about the databases, the queries being run, the OS (32 vs 64 bit) or the server hardware and disk layout...
June 4, 2013 at 7:26 am
The easiest way is to use OpenXML then you can basically use select statements against the XML table.
Read up on OpenXML in BOL you should be able...
May 31, 2013 at 6:07 am
Viewing 15 posts - 91 through 105 (of 1,047 total)