Viewing 15 posts - 6,616 through 6,630 (of 13,460 total)
you'll have to explain...it depends on what you mean by "received"
if they are "received" in a folder on the disk, vs "received" a s in a new row is created...
Lowell
October 5, 2011 at 7:11 am
File operations directly from TSQL are a pain.
SQL server is designed to fiddle with objects INSIDE a database, and as soon as you want to step outside of that context(to...
Lowell
October 5, 2011 at 6:30 am
AndrewSQLDBA (10/4/2011)
Lowell
October 4, 2011 at 5:58 pm
pramany (10/4/2011)
with the help of that i did execute the trigger.but i could not be able to see the inserted row in view.can you help me in thatthank you
you have...
Lowell
October 4, 2011 at 1:23 pm
you have to define the column names for the inserts:
create trigger sampletrigger
on sample view
instead of insert
as
insert into basetable1(name,id) --right names?
select name,id from inserted
insert into basetable2(result) --right column name?
select result from...
Lowell
October 4, 2011 at 11:33 am
Colleen you are defining it in the Cascading Style Sheets of the template, right?
the tag in CSS is the background-color:
BODY { background-color: #EFEFEF;}
Lowell
October 4, 2011 at 11:02 am
sure!
this was the first select + collation example i had in my snippets:
SELECT
'REVOKE ' + convert(varchar(50),x.[Action])
+ ' on ' + x.[Schema]
+ '.'...
Lowell
October 4, 2011 at 10:56 am
i'm guessing here, but i'm thinking that using a FOR XML to concatenate the itwm field into a comma delimited list might be what you are after;
here's a basic example...
Lowell
October 4, 2011 at 10:53 am
is the login the user is connected to a member of the sysadmins?
is "User1" really a domain account like myDomain\User1 that might be inheriting BuiltIn\Administrators,?
Lowell
October 4, 2011 at 10:47 am
not sure what you mean by elimination, nor what data you wanted at the end;
to me it looks like you have to join the table agaisnt itself...
is this right?
/*
--Results
organization account...
Lowell
October 4, 2011 at 9:53 am
mohammed moinudheen (10/4/2011)
Lowell
October 4, 2011 at 5:54 am
for me, cursors are ok in certain situations...when dealing with metadata items like you are.
my rule of thumb is: if it's in one database, no cursors allowed.
so the corallary...
Lowell
October 4, 2011 at 5:50 am
it's pretty well documented that SQL will keep data for a TEXT datatype in a varchar(8000) as long as it's less than 8000 chars, otherwise it's stored a different way,and...
Lowell
October 3, 2011 at 2:35 pm
your sample data didn't show the "or" part of your query...all the data would be returned regardless, because the4y are all between your start and end dates.
i changed the sample...
Lowell
October 3, 2011 at 2:09 pm
paul take a look at this thread from a while ago
http://www.sqlservercentral.com/Forums/Topic1115027-359-1.aspx
in that thread, I slapped together an example of a proc that executed as dbo,and did the following:
created(or found) a...
Lowell
October 3, 2011 at 1:50 pm
Viewing 15 posts - 6,616 through 6,630 (of 13,460 total)