Viewing 15 posts - 7,411 through 7,425 (of 26,490 total)
Does the following help:
CREATE TABLE #TEST
(
COL1 VARCHAR(10),
COL2 VARCHAR(20)
)
INSERT INTO #TEST (COL1, COL2) VALUES ('Bed+Vat', 'Vat');
INSERT INTO #TEST (COL1, COL2) VALUES ('Bed+Vat', 'Cess');
INSERT INTO #TEST (COL1, COL2) VALUES ('Bed+Vat', 'BED');
INSERT INTO...
June 4, 2013 at 7:47 am
MyDoggieJessie (6/4/2013)
June 4, 2013 at 7:30 am
While this query is running in one SSMS tab, switch to another tab and run sp_who2. Is the spid running your stuck query blocked?
June 4, 2013 at 7:21 am
This is posted in a SQL Server 2008 forum, why not use MERGE?
June 4, 2013 at 6:57 am
I wouldn't assume Oracle unless I actually saw something that looked Oracle, like CREATE OR REPLACE. This was posted on a SQL Server forum with not (or actually any)...
June 4, 2013 at 6:47 am
HowardW (6/4/2013)
There's no direct correlation to SQL Server, as...
June 4, 2013 at 6:37 am
This trigger assumes that only one record will be inserted into the table [dbo].[BILL_TRN] at a time. Is this true?
June 3, 2013 at 5:39 pm
ajp3066 (6/3/2013)
Lynn- Can you me little more detailed information?
Not sure what you are asking for here.
June 3, 2013 at 4:15 pm
SteveEClarke (6/3/2013)
SELECT
StockCode,
SUM(CASE TrnYear WHEN '2009' THEN InvoiceQty ELSE 0 END) AS Sales2009,
SUM(CASE TrnYear WHEN '2010' THEN InvoiceQty ELSE 0...
June 3, 2013 at 11:21 am
sj_prasad (6/3/2013)
VALUES ((select i.FINYRTRN_ID from inserted i), (select i.BILLDATE from inserted i),
(select i.BILL_LEDG_ID from inserted i), (select i.BILLAMOUNT from inserted...
June 3, 2013 at 11:11 am
Try this:
INSERT INTO ACC_JVDTL_TRN ( FINYRTRN_ID, VRDT, LEDGER_ID, AMOUNT)
select
i.FINYRTRN_ID,
i.BILLDATE,
i.BILL_LEDG_ID,
i.BILLAMOUNT
from
inserted...
June 3, 2013 at 11:08 am
The Dixie Flatline (6/3/2013)
Um, Guys.... I was being sarcastic.
Actually, I knew that. I was just playing to it. Even if you have been gone awhile I still remember your...
June 3, 2013 at 11:00 am
IIRC, you can configure the maintenance plans so that they don't shrink the database or log files.
It has been so long since I used them I can't actually remember.
June 3, 2013 at 10:29 am
The Dixie Flatline (6/3/2013)
I just use it for all my columns. That way I never get any pesky datatype errors.
Works great for all types except the MAX...
June 3, 2013 at 9:52 am
Brandie Tarvin (6/3/2013)
I've never found a reason to use it or a need that made sense, so I'd love to hear...
June 3, 2013 at 9:47 am
Viewing 15 posts - 7,411 through 7,425 (of 26,490 total)