Viewing 15 posts - 6,631 through 6,645 (of 13,460 total)
does this return the expected data?
SELECT
id,
SUBSTRING(CONVERT(VARCHAR(max), Data),
CHARINDEX('<t2>', CONVERT(VARCHAR(max), Data)) + 4,
( CHARINDEX('</t2>', CONVERT(VARCHAR(max), Data)) -...
Lowell
October 3, 2011 at 1:13 pm
books online 's first logon trigger example is limiting a login from more than three connections:
http://msdn.microsoft.com/en-us/library/bb326598.aspx
make sure you NEVER CLOSE the window you use to create your login trigger during...
Lowell
October 3, 2011 at 12:37 pm
laddu4700 (10/3/2011)
I need to export 9 sql server tables data to pipe delimited text file.
I tried to use import/export wizard, but I can't export more than one table at a...
Lowell
October 3, 2011 at 12:32 pm
patla4u (10/3/2011)
I want to know that...if user can insert,update and delete some records and i want to track all information(means user name ,time,which database) then how can i do...
Lowell
October 3, 2011 at 12:19 pm
PRINT @teste just before the attempt to bcp. it's probably a single INSERT command, right, and not a whole stack of inserts, because you are not putting your results together...
Lowell
October 3, 2011 at 11:34 am
well to do it exclusively via xp_cmdshell, you've got to have the right command, and it's got limitations.
the maximum length of the string that you can use at the command...
Lowell
October 3, 2011 at 10:06 am
river1 (10/3/2011)
The problem is not with the query...If i execute the query, it runs well.
The problem is when o try to save the results to a txt file
where is the...
Lowell
October 3, 2011 at 9:44 am
change all the snippets like this:
...where codrf = (select ...
--TO
...where codrf IN (select ...
and somewhere in code you did not post, you have something like this:
...AND SOMECOLUMN IN= (select *...
Lowell
October 3, 2011 at 9:41 am
Tan Hui Siang (10/2/2011)
Thanks, I'll try.
Elliot's Project makes the image insertion really simple;
here's a code example...once you have the CLR in place, it is soooo simple:
CREATE TABLE myImages(id int,filename...
Lowell
October 3, 2011 at 5:51 am
pramany (10/1/2011)
but i am trying to insert data on multiple base tables in a view.
in order to insert into that view then, you would have to put an instead of...
Lowell
October 2, 2011 at 1:45 am
yes, if you have myproc return a table. so much depends on what "my_proc" actually does.
CREATE PROCEDURE MyProc @param int
AS
BEGIN
SET NOCOUNT ON
SELECT ColumnList From SomeTable where...
Lowell
September 30, 2011 at 1:02 pm
Evil Kraig F (9/30/2011)
Lowell
September 30, 2011 at 11:55 am
Great job psoting sample Data, Kenneth;
what you are looking for is to use the FOR XML concatination technique.
based on your sample data, this seems to work perfectly;
/*
--Results
Field ...
Lowell
September 30, 2011 at 10:09 am
MyDoggieJessie (9/30/2011)
You're certain the only thing...
Lowell
September 30, 2011 at 9:59 am
MyDoggieJessie (9/30/2011)
Had a brain fart there when I posted my comment about the SMTP service...went into look to check on the SMTP...
Lowell
September 30, 2011 at 9:39 am
Viewing 15 posts - 6,631 through 6,645 (of 13,460 total)