Viewing 15 posts - 4,411 through 4,425 (of 13,460 total)
the issue here is GUI dependancy;
you've got to get used to using the TSQL window for your commands, instead of using the GUI tools.
if you right click on a...
Lowell
November 13, 2012 at 9:03 am
duplicate post.
no need to cross post to multiple forums; it fractures the answers you get and makes posters duplicate others work.
the "Recent Posts" link shows us everything.
continue the thread here:
Lowell
November 13, 2012 at 7:47 am
Tava (11/12/2012)
briancampbellmcad (11/12/2012)
I ran the code above and now have a SQL...
Lowell
November 13, 2012 at 5:12 am
ok, let me twist the question around on you...
why can't you update all the rows at the same time, where WIN is null, and ts_started is less than an hour,...
Lowell
November 12, 2012 at 2:34 pm
looked a little deeper, this is a syntactically correct version that only inserts the rows that have INSERTED.Transaction_Type = 'From Bulk Assignment'
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER TRIGGER [dbo].[trPopulateJournalEntries]
ON [dbo].[tblTransactions]
AFTER INSERT
AS
BEGIN
...
Lowell
November 12, 2012 at 2:10 pm
it would be simple concatenation;
if the types happen to be integers, you might need to convert them to varchars:
INSERT INTO tblSWJournal
(tblSWJournal.Ledger,
tblBulkPurchases.Amt)
SELECT
CONVERT(varchar(30),INSERTED.HeatTicketNumber)
+ ':'
+ CONVERT(VARCHAR(30),INSERTED.PO_Number),
INSERTED.Unit_Price
FROM INSERTED
Lowell
November 12, 2012 at 1:56 pm
well i cannot get a prototype to work;
this is the code i used for testing; i don't get any errors in the trigger, and a rollback command works fine, but...
Lowell
November 12, 2012 at 11:47 am
Steve Jones - SSC Editor (11/12/2012)
Lowell
November 12, 2012 at 11:16 am
zulmanclock (11/12/2012)
Lowell
November 12, 2012 at 10:02 am
I don't believe you can redirect the connection to another database... essentially the connection asks for login info/permissions only
yes maybe with an initial database gets passed in with the credentials,...
Lowell
November 12, 2012 at 9:41 am
Darth do you have a Calendar table?
for me, business days, well, depend on our specific business.
for example, the quarter for today's date is from 10/1/2012 to 12/31/2012.
there are 92...
Lowell
November 12, 2012 at 8:23 am
on my dev machine I have the last 4 versions of SQL installed.,and i have a port layout scheme to make it obvious to myself,
my default instance is 2005 listening...
Lowell
November 12, 2012 at 6:07 am
in 2005, there's the surface area configuration utility to add yourself:

in 2008, you need to start the service in single user mode, and add yourself.
Lowell
November 12, 2012 at 5:25 am
Artoo22 (11/12/2012)
kapil_kk (11/3/2012)
I want to create non clustered index on a view to check the limit that how many non clustered index can be created on a view.Why?
i think it's...
Lowell
November 12, 2012 at 5:21 am
that package adds the ACE drivers, which are not the same as the OleDB.
it's just like adding the drivers for MYSQL, SQLite or any of the many ODBC drivers for...
Lowell
November 12, 2012 at 5:15 am
Viewing 15 posts - 4,411 through 4,425 (of 13,460 total)