Viewing 15 posts - 1 through 15 (of 23 total)
Thanks for the reply Craig. As mentioned in my previous post, I don't need to worry about SQL injection in this case.
Look up using the delimitedsplit8k function here. It...
May 22, 2013 at 9:16 am
Thanks for the reply Calibear. That's what I figured - I wound up using the syntax from the last query I posted which is exactly what you suggested:
AVG(a.RatingValue) FOR...
May 22, 2013 at 9:06 am
Hello,
It's also worth noting that when declaring variables, the scope of the variable is dependent upon where you recently clicked your mouse. For instance, if you...
January 15, 2010 at 8:06 am
Hello,
Well one way to do this is to find out which stored procedures are referring to the table that contains the trigger. Once you...
December 31, 2009 at 11:05 am
Hello,
The :: syntax is also used to call the static Geometry and Geography data type methods. For instance:
Declare @test-2 Geometry
Set @test-2 =...
December 7, 2009 at 2:10 pm
Paul,
The reason that BCP does not log these rows into the error file is because they are not considered errors. BCP will do one of 2...
December 7, 2009 at 1:22 pm
Hi,
It's also worth mentioning that if you need to re-enable your foreign keys, you have the option of verifying the integrity of these keys. For example:
Alter Table...
November 2, 2009 at 2:43 pm
The following links provide good tutorials for creating an SSIS package programmatically using VB or C#:
To call an existing package:
http://www.codeproject.com/KB/database/CallSSISFromCSharp.aspx
To create a new package from scratch, as well...
September 28, 2009 at 3:09 pm
As an alternative, you can also enable xp_cmdshell in code by running the following:
exec sp_configure 'xp_cmdshell', 1
Reconfigure
Bob Pinella
September 14, 2009 at 3:30 pm
David,
Based on the information you have provided, you may just want to import your data using the BULK INSERT statement with a format file. ...
September 9, 2009 at 8:08 am
I don't believe that you can use a format file to ignore quotes. It is simply used to map the columns from the data file to the SQL Table...
September 9, 2009 at 7:53 am
Thanks ALZDBA - These forums have helped me a great deal in the past, so it's nice to give back once in a while!
Bob Pinella
September 3, 2009 at 2:10 pm
Also, on a side note, it is not recommended to use the prefix "sp" for user-defined stored procedures. This prefix is used with system stored procedures and can affect...
September 3, 2009 at 11:29 am
Hi,
As pduplessis mentioned, you may be able to reduce the table size by modifying the data types of the fields in the table. If you...
September 3, 2009 at 9:48 am
Hi,
You have to register the linked server in order to use OPENQUERY. Here is a simple example for the use of OPENQUERY:
...
September 3, 2009 at 9:20 am
Viewing 15 posts - 1 through 15 (of 23 total)