Viewing 15 posts - 1 through 15 (of 74 total)
Thank you for the link I did have a look at GeoNames but they seem to be giving a dump for cities - (Categorized based on city population), people and...
January 12, 2012 at 3:19 pm
Hi I generally use concatenate function in excel to see how my insert statement builds up.
Hope this solves your problem.
=CONCATENATE("INSERT INTO stk_location "," (item_Code, Whouse_Code)"," Values","( '",J$3,"' ,","'","VN09","'"," )")
September 1, 2011 at 12:13 am
it is a simple insert statement
Insert into table
(
responsestring
)
values
(
@responsestring
)
BTW responsestring is declared as varchar(max)
For now I will go with the work around. Probably there is a bug somewhere that I...
August 10, 2011 at 4:55 pm
Thanks Koen and Phil for your response.
I have implemented the workaround of replace string if it finds ascii(0).
However I was curious what was inserting this additional character. I checked...
August 9, 2011 at 5:02 pm
Thanks everyone for your response.
I was of the opinion that adding pseduo records may result in unnecessary maintenance especially during reruns and data correction.
The psuedo records are constructed...
March 21, 2011 at 3:59 pm
TommyH,
Thanks for your response and solution. I will test your solution with more data on the @x table and see if Cross Apply effects the performance.
Cheers
Aparna
December 2, 2010 at 3:59 pm
I would have been fighting for Indian Independence.
There is nothing like liberty and freedom in this world.
December 1, 2010 at 10:45 pm
Thanks for reminding me the issues with dynamic SQL.
I have learnt a new solution to use system views for rowcounts.
Thanks again..
November 23, 2010 at 5:40 pm
You can pass table name. You can use dynamic sql in the stored procedure.
CREATE PROCEDURE test
@table_name varchar(50)
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with...
November 22, 2010 at 10:35 pm
Hi,
Not quite understand your requirement, but is this what you are trying to do:
[Code]
declare @numeric1 int
declare @numeric2 int
set @numeric1=3688992
set @numeric2 = 456
declare @x table
(
string varchar(255)
)
insert into @x(string)
select
'my invoice number...
November 22, 2010 at 5:25 pm
Hi,
You can probably look at the system views (sys.columns). I have constructed a query using sys.columns. Hope this helps.
select o.object_id,
o.name,
t.name,
c.*
from sys.columns c
join
sys.objects o
on o.object_id = c.object_id
join
sys.types t
on t.system_type_id = c.system_type_id
November 16, 2010 at 5:43 pm
The issue with the linked server was the windows authentication. When I changed the linked server's properties to use:
Be made using the security context using Remote Logn and password instead...
October 5, 2010 at 6:45 pm
I googled without much luck.
If Anybody can provide some pointers as to what could be causing this issue
September 15, 2010 at 11:06 pm
Rozema thanks for the pointers.
There is another article in sqlservercentral that talks about setting contexts and capturing the loggedinusers credentials (Mainly used for triggers). Hope this might help you.
August 19, 2010 at 12:47 am
I will test the suggestions posted by you and let you know what I think (Currently I am held up with some strict deadlines).
Just wondering if anyone else ran...
August 18, 2010 at 5:41 pm
Viewing 15 posts - 1 through 15 (of 74 total)