Viewing 15 posts - 3,751 through 3,765 (of 7,191 total)
You can delete directly from the CTE:
DELETE from CTE_SCC
where Rec_No > 1
John
November 4, 2013 at 9:58 am
Sounds like your employer is putting the cart before the horse. If your applications don't have the facility to reset expired passwords then things are going to start breaking...
November 4, 2013 at 7:33 am
Have you tried using bcp or SSIS?
John
November 4, 2013 at 5:51 am
I don't understand - if it's got a unique index, how can there be duplicates? Please will you post full table DDL (including indexes) and sample data in the...
November 4, 2013 at 2:09 am
No, you can certainly put them in any order you like, and as far as I know, it doesn't make any difference to performance.
John
November 1, 2013 at 10:47 am
roy.tollison (11/1/2013)
table1
t1.f1 int,
t1.f2 char(25),
t1.f3 varchar(50),
t1.f4 smallint,
...
November 1, 2013 at 10:38 am
It could well be something to do with the .Net Framwework service, since it's only the script task that appears to be causing you problems. However, I'm afraid we've...
October 29, 2013 at 10:37 am
I don't recommend using triggers. By the time you've thought of everything you want to audit, you'll have so many triggers that you won't know how to manage them...
October 29, 2013 at 10:16 am
Please go on to the server with the msdb database on it and check whether there's a service called SQL Server Integration Services xx.x (where xx.x is the version), and...
October 29, 2013 at 9:26 am
If you don't have any logging and auditing set up on your server, you may be out of luck. You could try the default trace, if it goes back...
October 29, 2013 at 4:55 am
I'm afraid not. I know you've got a lot of tables, but maybe you could simplify it, please, and then provide some sample data and expected results?
John
October 28, 2013 at 8:03 am
I don't understand. What do you get by looping through those dates that you don't get from the results of the query as it stands?
John
October 28, 2013 at 6:36 am
Paul, surely you just use the REPLACE function (or its .Net equivalent) on FileSystempath to replace each single quote with two single quotes?
John
October 28, 2013 at 6:31 am
I read Kurt's post as saying that temp tables should not be used at all where not necessary. I've seen result sets be inserted into a temp table, only...
October 25, 2013 at 9:58 am
Yes, it's possible, but it depends on what you want it to look like. You first query will return a result set like:
ThemeA
ThemeB
ThemeC
The second will be like:
Theme2A
Theme2B
Theme2C
Theme2D
The third will...
October 25, 2013 at 3:23 am
Viewing 15 posts - 3,751 through 3,765 (of 7,191 total)