Viewing 15 posts - 91 through 105 (of 388 total)
You're right that clustered key should be small. But (maybe I don't understand you well) if you halve size of the clustered key it doesn't mean all nonclustered indexes will...
October 22, 2009 at 4:25 pm
Hi,
This error message indicates that you have values in tPersonRelation in Person2ID column that do not exist in tPerson. Here's an example:
create table tperson(personid int primary key, personname sysname)
go
create table...
October 22, 2009 at 4:06 pm
Agreed,
Triggers updating data on linked servers promote transactions to distributed and this opens a whole lotta new possibilities of failure, mainly related to availability of the servers, network stability,...
October 22, 2009 at 3:56 pm
Hi,
There is usually also "State" information related to the error. Please look if this information is available, perhaps in SQL Server logs. This blog entry explains various reasons of the...
October 21, 2009 at 5:43 pm
Hi,
Yes, you can store files (up to 2GB in size) in database in columns of type varchar(max) or nvarchar(max). The files will have all formatting preserved. You can use SSIS...
October 21, 2009 at 5:33 pm
Jeff, I guess you were looking for syntax of the FK constraint for multiple columns?
CREATE TABLE password
(
[First] varchar(50) NOT NULL,
[Last] varchar(50) NOT NULL,
...
October 21, 2009 at 5:19 pm
Ok, if it a separate server, it doesn't matter. SSIS creates temporary files for storing blobs or temporary data buffers on disk. If you don't change it, it is usually...
October 20, 2009 at 4:12 pm
Where do ETL loads store temporary files? Is it SSIS? Are they running on the DB server?
Regards
Piotr
October 20, 2009 at 3:10 pm
It's a long shot only: are you sure that
SUBSTRING(Employee_Master.BasicEarnGL,16,3)
returns all values besides '110'? This the nulls and 'c1' would suggest that the substring is returning something not covered...
October 20, 2009 at 2:57 pm
I wonder, how this would work?
update pharm.dbo.cms_medorderimport
set import_rec_status = 'A'
from pharm.dbo.cms_medorderimport imp
where
import_rec_status = 'i'
and not exists (select 1 from pat..cmspatviewl
where imp.patientid = patid
and imp.mardbname =...
October 20, 2009 at 2:50 pm
Please have a look at IN (and NOT IN) predicate of WHERE clause in Books On Line.
Regards
Piotr
October 19, 2009 at 4:33 pm
Did you try to see what T-SQL is used to create backup? Right click on the plan, select Modify.
When the plan is open, right click on "Back Up Database"...
October 19, 2009 at 4:29 pm
I don't know if this helps you, but restarting database service will reset tempdb to initial size. What is the size you want to shrink to and what is MAXSIZE...
October 19, 2009 at 2:18 am
To hire and to consider hiring are two different things Jeff 😉
October 18, 2009 at 6:30 pm
Why No? Imagine you have a small company with a website you paid a contractor for, and there is SQL Server under the hood, and everything is working fine.. and...
October 18, 2009 at 3:56 pm
Viewing 15 posts - 91 through 105 (of 388 total)