Viewing 15 posts - 286 through 300 (of 532 total)
John Walker-232274 (6/29/2010)
Thanks, found the error.
Glad to hear it.
If you have a chance to post what you found the problem to be, that may be helpful to someone that ends...
June 29, 2010 at 1:09 pm
If I understand you correctly you're wanting to have your app pass through credentials of accounts from users to the SQL Server.
I'll be honest ... I really don't like the...
June 29, 2010 at 1:06 pm
Without seeing exactly what you're trying to execute it's very difficult to help you.
TRY blocks work as a block .... you can put as much code in there as you...
June 29, 2010 at 12:54 pm
There is really no need whatsoever of having an order 1, 2, 3 ... for each separate user. Think more in terms of just storing the data reliably and...
June 29, 2010 at 12:42 pm
Eugene touched on this, but let me expand a little ...
Join performance will be faster using as small of a numeric key as possible. Small is important because the...
June 29, 2010 at 12:27 pm
John Walker-232274 (6/29/2010)
Yes, I have and there are no errors.
If your code is terminating in the CATCH block that means you have an error. Without seeing your actual code,...
June 29, 2010 at 12:18 pm
John Walker-232274 (6/29/2010)
June 29, 2010 at 12:17 pm
PHXHoward (6/28/2010)
I tried to make a new derived column for the zip codes using this:
(ISNUMERIC([ZIP]) = 1 ? [ZIP]: "")
but it did not work.
I don't know the SSIS...
June 28, 2010 at 5:24 pm
PHXHoward (6/26/2010)
I've written an SSIS package that takes addresses from a flat file and puts them into a table.
It has been working fine...
June 28, 2010 at 1:29 pm
Wayne's solution above is by far the most efficient of the 3, especially if you already have a tally table set up. (Not sure why inferior suggestions were posted...
June 28, 2010 at 1:01 pm
valeryk2000 (6/28/2010)
Query:
SELECT * From myTbl WHERE A="20" and B="167"
How the engine is going to process:
1. select all A's and...
June 28, 2010 at 12:53 pm
ankur_dba (6/26/2010)
declare @stmt nvarchar(max)
declare @whrcls nvarchar (max)
declare @param int
set @param=1
set @whrcls=''
set @stmt = 'SELECT SALESPERSON,
...
June 26, 2010 at 12:00 pm
Based on the information you've provided, I would suggest splitting the statement into two parts. The one part for cases when you want to return all countries and the...
June 25, 2010 at 3:52 pm
If you want to crosstab the data into X columns where X is dynamically determined, you will need to use dynamic SQL. Jeff Moden has a nice article about...
June 25, 2010 at 11:31 am
As a side note ... don't use (n)char/varchar for date fields ... use a datetime datatype and save yourself a lot of trouble.
June 24, 2010 at 10:53 am
Viewing 15 posts - 286 through 300 (of 532 total)