Viewing 15 posts - 301 through 315 (of 1,554 total)
Like a hammer and a screwdriver, both are tools used to build with.
Sometimes the hammer is better to use than the screwdriver, or the other way around, depending on the...
July 18, 2007 at 2:33 am
Jeff, it could be due to the fact that the op posed the question some 2+ years ago
/Kenneth
July 2, 2007 at 10:15 am
Well, the solution is pretty straightforward - You can't do it.
To clarify a bit, you can't 'select column from exec procedure' in a direct fashion.
You have to do as posted...
June 21, 2007 at 6:13 am
Yes, it does. That's what the -S<servername> parameter says...
/Kenneth
May 14, 2007 at 1:43 am
bcp T1 out D:\Archive -S <Server_Name> -U <username> -P <pwd> -b 10000 -c -t |;
.. is this the actual commandline? It looks a bit fishy in two places.
Unless you want your file...
May 10, 2007 at 2:24 am
There's a lot of places where you can find info on this subject.
Here's one as a starter:
http://sqljunkies.com/Article/F30B1E5F-F50F-40A8-96F2-476CEAD46C79.scuk
If you google on 'sql server disaster planning' you'll get several more links.
The...
May 7, 2007 at 4:35 am
RIGHT joins is only there for us mere mortals. For SQL Server, there is only LEFT joins.
Try these two:
select *
from sysobjects so
left join syscolumns sc
on so.id = sc.id
select *
from syscolumns sc
right join sysobjects...
May 3, 2007 at 8:06 am
Basically, if the requirement is to find the string 'mystring' anywhere within that 255 varchar column
(ie in the beginning, middle or end) - then there is *no* reason not...
May 3, 2007 at 7:42 am
That is correct.
N'somestring' denotes that this is a unicode string
/Kenneth
May 2, 2007 at 2:02 am
While it's possible, I wouldn't recommend putting in control chars into your data.
Eventually, it's very likely it will give you more troubles than joy.
Should you, by any chance, need to...
April 30, 2007 at 5:16 am
Yes, that was the point
The temptable was just for illustration.
You were supposed to substitute it with your actual table.
/Kenneth
April 4, 2007 at 3:45 am
You could do it like this;
create table #x ( weirdcodes varchar(20) not null )
go
insert #x select 'XX/\/\/\/\####'
go
select weirdcodes,
(datalength(weirdcodes) - datalength(replace(weirdcodes, 'X', ''))) as 'X',
(datalength(weirdcodes) - datalength(replace(weirdcodes,...
April 3, 2007 at 5:32 am
That makes sense, in that case there's not much point in doing continous backups - you just need one (until the day that something in the static db *does* change...
April 3, 2007 at 5:14 am
For further information about CHECKPOINT, DBCC and other stuff you hear about, BOL (Books On Line) is a very good place to start where you can find explanations.
/Kenneth
April 3, 2007 at 1:57 am
Probably the easiest would be to set up a profiler trace filtered on the particular user.
/Kenneth
April 3, 2007 at 12:44 am
Viewing 15 posts - 301 through 315 (of 1,554 total)