Viewing 15 posts - 121 through 135 (of 359 total)
What would be an example value that you are passing the function? The first thing that I notice is that your prefix variable allows up to eight characters. ...
April 22, 2009 at 8:02 am
Can you just query the data that is bigger than 1.3 like the code below or are you trying to loop to perform some other logic?
IF EXISTS (select * from...
April 21, 2009 at 6:50 pm
Make sure to check for the table in the tempdb. The following code should work.
if OBJECT_ID('tempdb..#TCompanyNames', 'U') is not null
print 'table exists'
else
print 'table does not exists'
April 21, 2009 at 5:54 pm
You should be able to simplify the query using the ISNULL and COALESCE functions.
SELECT UIC,
TAMCN,
...
April 21, 2009 at 9:17 am
Edwin (4/17/2009)
I executed the following T-sripts;SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS
Where TABLE_NAME = ‘dbo.Table_A’;
Go
Result:
0
I just wanted to clarify that you need to specify the table name and the schema name in two...
April 17, 2009 at 8:14 pm
Ahh. My mistake. Thats what I get for reading too fast.
April 16, 2009 at 8:49 pm
You can use INFORMATION_SCHEMA.COLUMNS. You may need to add a schema filter also if you have the same table in multiple schemas.
select * from INFORMATION_SCHEMA.COLUMNS
Where TABLE_NAME = 'Put Table...
April 16, 2009 at 8:13 pm
I am using feedreader, and they are working fine for me. Here is one of the URLs I am using. Try this in Google and see if it...
April 16, 2009 at 6:52 pm
Yes. You can find the features by edition here.
April 16, 2009 at 6:46 pm
Jonathan Kehayias has some good information here
How to Automate Common DBA Tasks
Specifically look at
Configuring SQL Server 2000 Notification with CDOSys and Monitor the SQL Server Error Log
I have personally used...
April 16, 2009 at 6:39 pm
You can use the Reverse Function to find the last occurrance.
Declare @FieldA varchar(100)
Set @FieldA = 'DirectoryA\DirectoryB\DirectoryC\FileName'
Select Substring(@FieldA,
...
April 8, 2009 at 7:44 am
You could do something like this...
Select dateadd(m,1,cast(STUFF('0309',3,0,'/01/') as datetime))-1
Just replace the '0309' with your field name.
April 7, 2009 at 8:21 pm
You would have to clear it for each plan handle that had the table name in the plan. The article on msdn has a good example for a specific...
April 7, 2009 at 2:43 pm
I think we were also trying to run the update based on the wrong key.
update co_customer_x_address
set cxa_on_hold_flag = '1'
Where cxa_cst_key IN (Select cxa_cst_key FROM co_customer_x_address WHERE cxa_on_hold_flag = '1')
April 7, 2009 at 1:59 pm
Can you provide some sample data? First show how it currently looks and then show how you would like it to look after the update.
April 7, 2009 at 1:26 pm
Viewing 15 posts - 121 through 135 (of 359 total)