Viewing 15 posts - 4,681 through 4,695 (of 14,953 total)
One way to do this is dump the data into a staging table, including a SheetNumber column, break the data up that way, select the distinct SheetNumber values, and loop...
March 9, 2011 at 11:07 am
First, Inserts don't work that way, with procedural code between the Insert statement and the data to be inserted (the Select statement in this case).
Second, "output" doesn't work that way....
March 9, 2011 at 11:02 am
Does the "sample1" value reference something in a lookup table? If so, you can query that, and then two inline-subqueries will get you the counts.
If not, a query like...
March 9, 2011 at 10:46 am
Is the TOAD query going through the SQL Server linked server to MySQL, or is it directly connecting to the MySQL database? If it's a direct connection, then the...
March 9, 2011 at 8:53 am
Pink123 (3/9/2011)
What if i replace Null with 0
with function ISNULL() as 0 is not a value that will be present in my table for cID.
After this will...
March 9, 2011 at 8:49 am
alen teplitsky (3/9/2011)
March 9, 2011 at 8:46 am
krishusavalia (3/9/2011)
Your solution is awesome. It was interesting and i learn something new.
But in my senario, I have more than 2 million rows and for every row I...
March 9, 2011 at 8:41 am
bpportman 52825 (3/9/2011)
March 9, 2011 at 8:38 am
Manvendra (3/8/2011)
March 9, 2011 at 6:40 am
I don't think there's a difference.
I just tested this in 2008 R2:
CREATE TABLE #A (ID INT PRIMARY KEY) ;
CREATE TABLE #B (ID INT PRIMARY KEY) ;
INSERT INTO #A
...
March 9, 2011 at 6:31 am
If you want to simplify having an SSIS package move data between domains (local server vs different Windows domain), it's sometimes easiest to set up FTP on the target server/domain,...
March 8, 2011 at 2:15 pm
"Using" is too common a word to do an effective search on. I can't speak for the standards or whatever, but I've never seen it used in a join.
Do...
March 8, 2011 at 9:10 am
Unfortunately, the Where clause doesn't necessarily evaluate sequentially, so it doesn't work when you do that.
The thing to do is first insert all the ones Where IsDate = 1 into...
March 8, 2011 at 8:59 am
The reason you're having trouble with that is that Foreign Keys aren't built to work that way.
What you've done, by having Code1, Code2, Code3 is violate First Normal Form for...
March 8, 2011 at 6:44 am
Viewing 15 posts - 4,681 through 4,695 (of 14,953 total)