Viewing 15 posts - 811 through 825 (of 2,487 total)
Use this bit to get the results without using a cursor. Replace <<mydb>> with a database that exists on your server.
if not exists (select * from dbo.sysobjects where id...
--------------------
Colt 45 - the original point and click interface ![]()
September 14, 2005 at 1:55 am
"What u think i am playing with sql server or i am joking."
I don't know what to think, that's why I asked the question "Are you really serious that you...
--------------------
Colt 45 - the original point and click interface ![]()
September 14, 2005 at 12:05 am
Are you really serious that you want all this "in one QA window with one sql query" ??
Closest you're going to get if this is a definate requirement is DBCC...
--------------------
Colt 45 - the original point and click interface ![]()
September 13, 2005 at 10:37 pm
Looks like your copy and paste didn't work. There should be a line break or space in between @tbl and GROUP ![]()
--------------------
Colt 45 - the original point and click interface ![]()
September 13, 2005 at 9:56 pm
"... but was looking into other option for a divider inside a drop downlist"
Another method to skin that cat it to use union queries.
DECLARE @tbl table ( grp varchar(4),...
--------------------
Colt 45 - the original point and click interface ![]()
September 13, 2005 at 9:43 pm
I doubt you'll get anything in SQL Server to provide client details. From SQL Servers perspective the client could be a server, workstation, web page, application, etc...
You might be able...
--------------------
Colt 45 - the original point and click interface ![]()
September 13, 2005 at 8:01 pm
How about a different approach,
1) Bulk Insert into a staging table so you can easily get your rowcount.
2) Insert into production table so your triggers fire.
--------------------
Colt 45 - the original point and click interface ![]()
September 13, 2005 at 4:19 pm
So are you executing the BULK INSERT via an ExecuteSQL task, or are you using the in-built Bulk Insert task? I can't confirm it at the moment, but I believe...
--------------------
Colt 45 - the original point and click interface ![]()
September 13, 2005 at 5:15 am
The presentation format of the data should be done on the client that is displaying the data. eg: Excel, Crystal Reports, Reporting Services, etc...
This is very clunky and NOT...
--------------------
Colt 45 - the original point and click interface ![]()
September 13, 2005 at 4:14 am
"1. i want to remove both the hyphen and whiite space
2. but there are 10000 records which has has got this trouble in that field (Phone_Number). do you mean...
--------------------
Colt 45 - the original point and click interface ![]()
September 13, 2005 at 1:41 am
What account does the SQL services run under? Do the have permissions on the ...\MSSQL\LOG directory? Are you able to stop the SQL services and manually rename the file.
Maybe...
--------------------
Colt 45 - the original point and click interface ![]()
September 13, 2005 at 1:31 am
"also don't use a function on a column on a where condition. You don't allow any indexes to be used in the query"
Hmmm ... guess I've just got a super...
--------------------
Colt 45 - the original point and click interface ![]()
September 13, 2005 at 1:20 am
The Operating System Command step starts in c:\windows\System32 directory because that's where the cmd.exe resides. I don't think you're going to change the startup location without some serious OS hacking,...
--------------------
Colt 45 - the original point and click interface ![]()
September 13, 2005 at 1:00 am
Have you tried Log PI http://www.logpi.com/
I seem to recall that had the functionality to load log backups. Could get you somewhere maybe --------------------![]()
Colt 45 - the original point and click interface ![]()
September 12, 2005 at 7:43 pm
Viewing 15 posts - 811 through 825 (of 2,487 total)