Viewing 15 posts - 23,761 through 23,775 (of 26,490 total)
Problem: You won't give us what we ask for so we can't provide you with the answer you are looking for.
You only give us half answers to our questions, what...
November 13, 2008 at 10:07 pm
May just be me, but I'd keep the filter in the stored procedure, unless the users also have access directly to view and not just using the stored procedure.
November 13, 2008 at 4:04 pm
Even disabled jobs can be run. You can do so manually by right clicking on the job and selecting start job, or using msdb.dbo.sp_start_job stored procedure.
November 13, 2008 at 3:26 pm
paul.starr (11/13/2008)
[CustomerID] [dbo].[C_ID] (nvarchar(30))NOT NULL,
[AddressTypeID] [dbo].[C_ID] (nvarchar(30))NOT NULL,
[CustomerAddressID] [dbo].[C_ID] (nvarchar(30))NOT NULL
insert into dbo.CustomerAddresses
(CustomerID, AddressTypeID, CustomerAddressID)
values('48313', '1', '48313-1')
('48313', '4', '48313-4')
...
November 13, 2008 at 2:58 pm
You're going to hate this, but...
Please provide us with the DDL for the table (the CREATE TABLE statement), sample data for the table (as INSERT INTO statements), what you have...
November 13, 2008 at 2:02 pm
I'd contact the vendor and request their assistance.
November 13, 2008 at 1:04 pm
Personally, a separate job for the system databases.
November 13, 2008 at 12:48 pm
Looks like this may be the way to go. I amy have to look at the output clause in a little more depth for other uses in my environment...
November 13, 2008 at 12:46 pm
Steve Jones - Editor (11/13/2008)
I can see where the question is a little ambiguously worded. I shall add a "select all" and award back points to people for this one.
Slightly...
November 13, 2008 at 10:35 am
I'd look at using the OUTPUT clause with the insert. You may be able to get the identity value assigned from the INSERTED values.
Haven't tried it, but it is...
November 13, 2008 at 10:10 am
paul.starr (11/13/2008)
Does this help any:COLUMN NAMES
CustomerID
ParentCustomerID
ParentContactID
Name
ShortName
ReferenceNo
Logo
CustomerTypeID
Templates
CorpURL
CorpEmail
SupportEmail
SalesEmail
OtherEmail
DefaultContactID
Markup
DefaultCurrencyID
PriceListID
FreightID
PaymentTypeID
PaymentTermID
PaymentTermNotes
ShippingPolicyID
CarrierID
ShippingMethodID
EffectiveDate
ExpiryDate
DefaultTaxRate
DefaultQuoteDiscount
DiscountComments
Notes
Deleted
Status
StatusComments
StatusChangeDate
StatusChangeUser
CreateDate
CreateUser
MaintenanceDate
MaintenanceUser
LockUser
LockSessionID
LockDate
PriceList_MaintenanceDate
SyncStatus
SyncDate
SyncUser
DiscountMode
UpchargeMode
CreateCustomerID
CreateContactID
MaintenanceCustomerID
MaintenanceContactID
InUse
CustomerSalesModel
CustomerPrefix
State
DefaultCustomerAddressID
DefaultCustomerID
datatypes, character length
nvarchar30
nvarchar30
nvarchar30
nvarchar50
nvarchar20
nvarchar50
nvarchar200
nvarchar30
nvarchar250
nvarchar250
nvarchar50
nvarchar50
nvarchar50
nvarchar50
nvarchar30
decimalNULL
nvarchar30
nvarchar30
nvarchar30
nvarchar30
nvarchar30
nvarchar500
nvarchar30
nvarchar30
nvarchar30
datetimeNULL
datetimeNULL
decimalNULL
decimalNULL
nvarchar500
ntext1073741823
intNULL
intNULL
nvarchar500
datetimeNULL
nvarchar50
datetimeNULL
nvarchar50
datetimeNULL
nvarchar50
nvarchar50
nvarchar36
datetimeNULL
datetimeNULL
intNULL
datetimeNULL
nvarchar50
intNULL
intNULL
nvarchar30
nvarchar30
nvarchar30
nvarchar30
intNULL
intNULL
nvarchar20
intNULL
nvarchar30
nvarchar30
No. It doesn't. You have to give us something that doesn't require more than cut and paste to use. ...
November 13, 2008 at 8:00 am
In SSMS, you can right click on the database and in the pop-up menu select Generate Scripts. Using the wizard, you can select the databae, in the options page...
November 13, 2008 at 7:57 am
paul.starr (11/13/2008)
will it work in 2005?
MERGE is new to SQL Server 2008, doesn't exist in SQL Server 2005 and earlier versions of SQL Server.
November 13, 2008 at 7:01 am
Jeff Moden (11/12/2008)
... thanks for the leg up, Lynn. 😛
Just keeping you honest! :w00t:
I still haven't even hit 3,000 forum posts, but I'm getting close!
November 12, 2008 at 10:29 pm
Viewing 15 posts - 23,761 through 23,775 (of 26,490 total)