Viewing 15 posts - 10,726 through 10,740 (of 13,461 total)
probably a misstatment, but you can't use a trigger i think, but you can certainly use a script to test for your invalid columns:
here's an example of the first two...
July 28, 2009 at 12:31 pm
OK I've got ~140 or so points accrued from the QOD section, that are not applied yet to the points viewed in the forums; right now my rank is "SSCrazy",...
July 28, 2009 at 9:16 am
after you stop and restart the server, the tempdb gets recreated....if it is small by default,(say 10 meg) the first SQL that inserts those 11,000 rows into the temp table...
July 28, 2009 at 9:10 am
i have this saved in my snippets,it's supposed to find all zip codes within a given distance, assuming you have a table with zipcode, lattitude,longitude in it:
hope this helps:
/*
Returns zip...
July 28, 2009 at 8:50 am
isn't the table scan and not using the index due to the SARGable condition?(Search ARGument)
column = @value can be used to search as boolean match to the index
column is...
July 28, 2009 at 8:21 am
adrish sorry about the late followup; the forum doesn't seem to notify the author for posts on content the way it does for forum threads.
since this version got created, I've...
July 28, 2009 at 7:40 am
show us your function call;
here's an example of using a linked server to get a function call back, does this help?
exec ServerName.master.dbo.sp_executesql N'Select SERVERPROPERTY(''MachineName'')'
July 28, 2009 at 7:27 am
thanks for the feedback Bill;
I had initially tried to use the INFORMATION_SCHEMA views to build a script like this...the problem is, those views do not contain all the information. which...
July 28, 2009 at 7:12 am
it's in books oline:
BACKUP MASTER KEY
RESTORE MASTER KEY
July 27, 2009 at 7:24 pm
excellent job posting the CREATE and INSERT statemetns.
Thank you!
getting the output you want is easy; it's exactly what the new row_number() function is for.
updating the existing table is hard,...
July 27, 2009 at 12:11 pm
if you could provide the actual table definitions, you could get a more refined answer.
basically what you want to do is LEFT join all the tables, so you get either...
July 27, 2009 at 11:12 am
I'm assuming you want to see the text of your procs....
any of of these will get you started:
select * from INFORMATION_SCHEMA.ROUTINES
select * from sys.all_sql_modules
select * from sys.procedures --just procs
July 27, 2009 at 10:10 am
only way i could think of was to use parsename and do a double convert from int back to varchar:
declare @ipAddress varchar(20)
SET @ipAddress='010.000.123.094'
SELECT
CONVERT(varchar(3),convert(int,parsename(@ipAddress,4))) + '.' +
CONVERT(varchar(3),convert(int,parsename(@ipAddress,3))) + '.' +...
July 27, 2009 at 9:44 am
you might want to attach your proc, instead of copying and pasting it.
just from what you pasted, i see one way to improve it:
you mentioned you are using some functions,a...
July 27, 2009 at 8:41 am
I've done almost the same thing that Grant is talking about;
for a .net web page suite, we slapped together a couple of utilities that spidered all the web pages so...
July 27, 2009 at 7:54 am
Viewing 15 posts - 10,726 through 10,740 (of 13,461 total)