ISNUMERIC returns 1 when the input expression evaluates to a valid
integer, floating point number, money or decimal type; otherwise it
returns 0. A return value of 1 guarantees that expression can be
converted to one of these numeric types.
(Cut and pasted from books online)
Yet the following, one of many, example shows this is not true.
Server: Msg 245, Level 16, State 1, Line 2
Syntax error converting the varchar value '' to a column of data type
int.
So, besides filtering every possible invalid character, how do you
convert dirty values without error. I am not concerned that I may loose
possibly valid values or convert suspect strings to 0 (zero). I just
want to run without raising an error
I'd like to go through and document the databases I'm responsible for...it's probably a good practice and I'm sure there a several approaches to doing so.
Anybody have comments, recommendations, or possibly a nice word template that links everything up?
hello everyone, I have to document about four databases, has anyone got any specific format or tool for documenting a database? Any inputs would be very helpful regards, Harshal.
I am looking for good utilities that document MS SQL table schema, indexes, layouts etc. I am currently looking at SQL auditor, but this product does not give me table schema or any kind of device revisions. I recently was given several SQL servers that have not been documented in any way.
thanks
ps SQL auditor gets a B+ in my book. Let me know what you think
Right now I am looking for the query-code to delete a table (not only the rows, but all of it). Somebody could give me the code?
In general I am always looking for a place on the web, where all sql-server 2005 (express) query-functions are explained. Somebody knows the right place?
Can anyone advise me on what they regard as the best SQL Server documentation tool. I am currently looking at Redgate and ApexSQL products. Do any of you have experience with these or others? I need one that will document 2000 and 2005 databases.
When I view dependencies on a table I can see a view- so I go to views and copy the information. But when there is a trigger as a dependency- I cannot find where to go to view it.
Are triggers within stored procedures somewhere? Or do they have their own separate place somewhere?
What is the best online documentation either on the Web or installedwithSQL Server that I could use to get started? I want to jump in andstartcreating tables, etc for applications.Also, what is the most recommended text for converting my DBAexperience from other database to SQL Server.ThanksBill.
According to the book I am reading at the moment, there's supposed to be an SSIS documentation that ships with the product. I had the software installed by the IT guys but nothing with it apart from the books on line.
Does any one know of specific documentation on this?
I am to try to find documentation about C2 auditing into SQL Server 2005. The only one doc I fand about it is: SQL 2000 C2 Admin and User Guide It cover SQL Server 2000 and Windows NT4.0.
I do not find any document who cover the security from SQL Server 2005.
I know that the BI studio can build a nice flow document that is associated with the package. Is there an easy way to build a series fo documents that can be shared with other users without having them go into Visual Studio?
Hi all I have 15 tables in my database and I want to create a pdf file with description about all the columns of these tables(Data Model) Few questions How can I get all the column names in the excel or pdf file? Is there any tool which can give me the output template for these columns and then I just have to fill the description for each column? Thanks
I am having some difficulties to find the documentation relative to the syntax of CHECK and CONTRAINT in MS SQL Server 2005. Can someone points me toward a reference guide?
Thanks in advance, Joannès http://www.peoplewords.com
I have a question for Paul Randal. I was perusing the forums earlier and I came across a post where you mentioned that you had documented what each of the errors that CHECKDB returns means, but you did not link to this documentation. Perhaps I am just stupid, but I was unable to find this anywhere. Could you point me in the direction for this when you get a chance? I'd be interested in both the 2000 documentation and the 2005 documentation if you have it updated yet. Thanks.
Anyone know how to query sysobjects & syproperties showing the table,field name, and field properties (specifically the description)? Ihave so far:SELECT *FROM sysproperties spINNER JOIN sysobjects soON sp.id = so.idSELECT *FROM syscolumns scINNER JOIN sysobjects soON sc.id = so.idWHERE so.type = 'U'....not sure how to join the two. The 'ID' column refers to the tableID and not the field ID.
Can you please tell me links to SQL Server 2008 documentation on MSDN? I read SQL Server 2008 CTP is released today. I'm very much interested to know more about it. Thanks in advance.
i'm looking for a good method in order to document my ssis packages. i already tried this ssis documenter http://www.ssisdocumenter.com/ but was not very satisfied with it. what are your experiences with documenting ssis packages?
Where can I find some documentation about the ExternalActivator sample available on gotdotnet.com? I'm looking for a tutorial how the sample can be set up and used...
Thanks
Klaus Aschenbrenner www.csharp.at http://www.sqljunkies.com/weblog/klaus.aschenbrenner
HiDoes anyone know where I can find documentation on the event ids logged in the Windows Event Log for the event source 'SQLISPackage'?Example ids are:
12288 = Package Started 12289 = Package Finished Succesfully 12291 = Package FailedTIA . . . Ed
I'm trying to do something very simple here but I keep getting stuck becuase I can't find much on getDate() in the documenation. Where, in the documenation, does it talk about truncating times, adding to times and all that good stuf. Below is what I'm trying to do here: I have a while loop that adds to the starting hour of 6am 15 min until it gets to like 7pm. I do realize at this point that just adding 15 is suppsed to add 15 days based on what I have read, but I'm getting an error when I parse this and since I can't seem to find the docs I don't know what to do next? Msg 102, Level 15, State 1, Procedure PopulateDatabase, Line 32 Incorrect syntax near '@TeeTime'.set ANSI_NULLS ON set QUOTED_IDENTIFIER ON GO -- ============================================= -- Author:Przemek -- Create date: -- Description: -- =============================================
ALTER PROCEDURE [dbo].[PopulateDatabase] -- Add the parameters for the stored procedure here
AS declare @CourseID uniqueIdentifier declare @TeeTimeSlot int declare @TeeTime dateTime BEGIN SET NOCOUNT ON;
I am a newbie to SQL admin. I have been given a responsibility to document a) Backup, recovery and disaster plan
Can some one give me poninters where I would start???. Please let me know if you can suggest any sites for new DBA's and also where I would find out about what to document, etc??. Thanx for your time
Just a quick note to let you all know about a shareware app I have written called SqlSpec. It generates docs for any SQL Server 2000 or 2005 database, together with dependency diagrams, and lots more. It has very good reviews from the people who have tried it out so far.
If you are looking for a very good and reasonably priced doc generator for you databases, why not take a look?
You can find out more here: www.elsasoft.org (http://www.elsasoft.org/default.htm?referrer=jezemine).